ReadOnlyFieldColors

data class ReadOnlyFieldColors(val labelColor: Color, val textColor: Color, val supportingTextColor: Color, val errorSupportingTextColor: Color)

Colors used for a FieldFormElement with any input type. If the FieldFormElement.isEditable is false, it is rendered as a read-only field with colors specified by this class.

Use FeatureFormDefaults.readOnlyFieldColors to create a new instance with the default values.

Since

200.5.0

Constructors

Link copied to clipboard
constructor(labelColor: Color, textColor: Color, supportingTextColor: Color, errorSupportingTextColor: Color)

Properties

Link copied to clipboard

the color used for the supporting text of this field when in error state

Link copied to clipboard

the color used for the label of this field

Link copied to clipboard

the color used for the supporting text of this field

Link copied to clipboard

the color used for the text of this field