Interface IEnhancedProps

Interface representing enhanced properties for an input field.

interface IEnhancedProps {
    eMaxLength?: number;
    formControl?: boolean;
    noErrorBackground?: boolean;
    selectOnFocus?: boolean;
    validateOnChange?: boolean;
    validations?: IValidations;
}

Properties

eMaxLength?: number

Maximum length for the field.

formControl?: boolean

Indicates if the field should have form control styling.

noErrorBackground?: boolean

Indicates if the field should not have error background styling.

selectOnFocus?: boolean

Indicates if the field should select its content on focus.

validateOnChange?: boolean

Indicates if the field should validate on change (Default: true).

validations?: IValidations

Validation rules for the field.