-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
The disabled
attribute in inputs is styled by Forge to appear greyed out. Would be useful to also include the readonly
attribute with the same styling.
The benefit of the readonly
attribute is that it still allows the form to submit the hardcoded value (say for example in a form which adds a value to an input based on IDs or something in the system; real-world example happens in Gladiator).
Whereas with the disabled
attribute, any value in the input is not submitted via the browser as a value for the field.