Hi,
I get a error message 'The field StartDate must be a date.' when I try to set the DatePicker dateformat, like this:
It seems something goes wrong by validating the date value, because of the format.
My code snippet:
items.Add()
.Field(propInfo.Name)
.Label(propInfo.Label)
.Editor(e =>
{
e.DatePicker().Format("dd-MM-yyyy");
});
How can I solve this easily, on the server side (preferably not jQuery / javascript fix).