Interface ControlClientStates

Represents the client states of a control.

interface ControlClientStates {
    allowInput: boolean;
    couldBeReadOnly: boolean;
    couldBeRequired: boolean;
    disabled: boolean;
    hidden: boolean;
    maskActive: boolean;
    readOnly: boolean;
    required: boolean;
    [state: string]: boolean;
}

Indexable

  • [state: string]: boolean

    A dynamic map of additional states, where the key is the state name and the value is a boolean.

Properties

allowInput: boolean

Indicates if the control allows input.

couldBeReadOnly: boolean

Indicates if the control could potentially be read-only

couldBeRequired: boolean

Indicates if the control could potentially be required

disabled: boolean

Indicates if the control is disabled.

hidden: boolean

Indicates if the control is hidden.

maskActive: boolean

Indicates if the control has masking active.

Use api.control.masking.isMasked instead.

readOnly: boolean

Indicates if the control is read-only.

required: boolean

Indicates if the control is required.