EnabledState

States primarily used for Input field and Text areas, but also other components that need both Enabled, Disabled and ReadOnly. The state is used to block input and change the UI when used with ReadOnly and Disabled. Default state is Enabled.

Entries

Link copied to clipboard

Enabled is the default state.

Link copied to clipboard

Disabled the component is disabled and no input or actions are allowed. Component cannot be focused and text can be selectable.

Link copied to clipboard

ReadOnly state is used for content that is valid but cannot be changed. Should be accompanied by a label or HelperText that describes why it cannot be changed here. Leading/trailing icon is allowed but not clickable action. The component can be focused and text

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.