Telerik Team,
Is there a way to validate an autocomplete in the popup editor grid? In the grid definition of my field, I have added an editor parameter to render out the kendo autocomplete which will retrieve remote data.
columns: [
{ field: "EmployeeName", title: "Employee Name", editor: employeeAutoCompleteEditor }
]
The autocomplete and everything works. But the validation defined in the datasource of the autocomplete doesn't work.
schema: {
model: {
fields: {
Employee: {
type: "string",
validation: { required: true}
}
}
}
If I took out the editor: employeeAutoCompleteEditor from the grid column definition, the validation works on that datasource. Is it possible to have the autocomplete with validation by defining it in the schema?
Thanks,
Danny
Is there a way to validate an autocomplete in the popup editor grid? In the grid definition of my field, I have added an editor parameter to render out the kendo autocomplete which will retrieve remote data.
columns: [
{ field: "EmployeeName", title: "Employee Name", editor: employeeAutoCompleteEditor }
]
The autocomplete and everything works. But the validation defined in the datasource of the autocomplete doesn't work.
schema: {
model: {
fields: {
Employee: {
type: "string",
validation: { required: true}
}
}
}
If I took out the editor: employeeAutoCompleteEditor from the grid column definition, the validation works on that datasource. Is it possible to have the autocomplete with validation by defining it in the schema?
Thanks,
Danny