Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ErrorMessageOptions

remarks

@since 2.5.0

Hierarchy

Index

Properties

isBlurEvent: boolean

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

maxLength?: number
minLength?: number
pattern?: string
required?: boolean
validateOnChange: ChangeValidationBehavior

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

validationMessage: string

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

validity: ValidityState

The current input or textarea's validity state.

value: string

The current TextField or TextArea value.

Generated using TypeDoc