LabelState

sealed interface LabelState

LabelState represents the state of a RadioButtonLabel or CheckboxLabel. That is, either no lidl.brand.ods.core.form.hint.Hint or a HintStatus.Error version of lidl.brand.ods.core.form.hint.Hint.

Inheritors

Types

Link copied to clipboard
data object Default : LabelState

The default, neutral state of the labeled component, indicating no special status like an error.

Link copied to clipboard
class Error(val errorStatus: HintStatus.Error) : LabelState

Represents an error state for the labeled component.