Implementation of ValidationComplete
event. The ValidationComplete event is triggered once validation is completed
on the form.
An example of using this event,
function onValidationComplete(event) {
const x = event.payload[0].id;
// do something with the invalid field
}
ActionImpl
↳ ValidationComplete
• new ValidationComplete(payload?
, dispatch?
)
Name | Type | Default value |
---|---|---|
payload? |
ValidationError [] |
undefined |
dispatch |
boolean |
false |
ActionImpl.constructor
• get
currentTarget(): FormModel
| FieldModel
| FieldsetModel
FormModel
| FieldModel
| FieldsetModel
ActionImpl.currentTarget
• get
isCustomEvent(): boolean
boolean
ActionImpl.isCustomEvent
• get
metadata(): any
any
ActionImpl.metadata
• get
payload(): any
any
ActionImpl.payload
• get
target(): FormModel
| FieldModel
| FieldsetModel
FormModel
| FieldModel
| FieldsetModel
ActionImpl.target
• get
type(): string
string
ActionImpl.type
▸ toJson(): Object
Object
Name | Type |
---|---|
isCustomEvent |
boolean |
payload |
any |
type |
string |
ActionImpl.toJson
▸ toString(): string
string
ActionImpl.toString