Skip to main content
MybringDesign System

Forms

Building user input

Central classes

Resources

Disabling inputs

Disabled inputs can be removed most of the time or, if the input is always disabled, it can be a text of the output instead. A relevant example is postal code search that fetches the city automatically. Postal code is input, city would then be output.

When we actually have to disable inputs, we use the disabled attribute. This sets the style automatically.