Properties
Optional
buttonLabelCancel
buttonLabelCancel?: string
Optional
buttonLabelClear
buttonLabelClear?: string
Optional
buttonLabelSubmit
buttonLabelSubmit?: string
Optional
defaultValueById
defaultValueById?: {
[id: string]: any;
}
Optional
disableSubmit
disableSubmit?: boolean
Optional
formIsDestroyedAfterSubmit
formIsDestroyedAfterSubmit?: boolean
Optional
hideClearButton
hideClearButton?: boolean
Optional
isSearch
isSearch?: boolean
Optional
messageToDisplay
messageToDisplay?: string
Optional
onCancel
onCancel?: (() => void)
Optional
onReset
onReset?: (() => void)
onSubmit
onSubmit: ((values, formMetada) => string | void | Promise<any>)
Type declaration
- (values, formMetada): string | void | Promise<any>
Returns string | void | Promise<any>
Optional
readOnly
readOnly?: boolean
Optional
smallScreenDisplay
smallScreenDisplay?: boolean
Optional
submitErrors
submitErrors?: string[]
validate
validate: ((values, formMetada) => {
[key: string]: string;
})
Type declaration
- (values, formMetada): {
[key: string]: string;
} Returns {
[key: string]: string;
}
Optional
viewId
viewId?: number