FieldArrayRenderProps
Represents the props that are passed to the component which is rendered by FieldArray.
Definition
Package:@progress/kendo-vue-form
Properties
modified
boolean
Indicates if the field is modified.
The modified state is set to true when the onChange callback for the current field is called for first time.
name
string
The name of the field in the Form state.
onInsert
(options: { value: any; index: number }) => void
A callback to insert value at given index of the array.
onMove
(options: { prevIndex: number; nextIndex: number }) => void
A callback to move a value from one index to another. Useful for drag and drop reordering.
A callback to remove a value from the end of the array. The value is returned.
any
onPush
(options: { value: any }) => void
A callback to add a value to the end of the array.
A callback to remove a value from given index of the array.
any
onReplace
(options: { value: any; index: number }) => void
A callback to replace value at given index of the array.
A callback to add a value to the beginning of the array.
number
touched
boolean
Indicates if the field is touched.
The touched state is set to true when the onBlur callback is called.
valid
boolean
A calculated property based on whether validationMessage is present and the touched state is set to true.
validationMessage
string
Represents the error message that is returned by the validator.
The FieldArray is considered valid if the validationMessage field is empty.
value
any
Represents the current value of the FieldArray (see example).
visited
boolean
Indicates if the field is visited.
The visited state is set to true when the onFocus callback is called.