FormFieldSettings
Interface
Configures the form fields in the built-in external editing form.
Definition
Package:@progress/kendo-angular-grid
Syntax:
TS
const fieldSettings: FormFieldSettings = {
label: 'Email',
hint: 'Enter a valid email address.',
errors: { required: 'Email is required.' }
};
Properties
errors?
{ [key: string]: string }
Passes custom error messages as key-value pairs. The key is the error name in the FormControl validators, and the value is the error message shown when the control is invalid.
The default error message is The "{fieldName}" field has "{errorName}" validation error.
hint?
string
Provides custom hint text. By default, no hint message appears.
label?
string
Provides a custom label for the form control. By default, the column title or field appears.