Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ErrorMessageOptions

remarks

@since 2.5.0

Hierarchy

Index

Properties

isBlurEvent

isBlurEvent: boolean

Boolean if this is triggered from a blur event instead of a change event.

Optional maxLength

maxLength: number

Optional minLength

minLength: number

Optional pattern

pattern: string

Optional required

required: boolean

validateOnChange

validateOnChange: ChangeValidationBehavior

The change event validation behavior that is specified in the hook.

validationMessage

validationMessage: string

The browser defined validation message based on the validity state. This will be the empty string when there are no errors.

validity

validity: ValidityState

The current input or textarea's validity state.

value

value: string

The current TextField or TextArea value.

Generated using TypeDoc