Skip to content

Readonly inputs and after element html in the backend #691

Closed
@tzyganu

Description

@tzyganu

Let's say I have a custom form that contains one input marked as readonly and has an after_element_html value.

 $fieldset->addField('some_id', 'text', array(
     'name' => 'some_name',
     'label' => __('Some Label Here'),
     'readonly' => true,
     'after_element_html' => 'AFTER HTML'
));

The result would be something like this:
After html

The border on the element is continued with a border on whats after the element. But the borders don't match.

But if instead of 'readonly' => true, I use 'disabled' => true, then they match.
So I guess the readonly css should look like the disabled css.

And yes...this is very low priority, but it would be nice to have a consistent UI.

Metadata

Metadata

Assignees

Labels

Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions