I have a template with rows, each row with 2 dates, bound to an entity. Both dates have a kendoDatePicker.
I need to apply some constraints, like ValidTo value should have as min the value of ValidFrom.
And I would like to prevent the user from typing wrong values in the input field. Like "DateInput()" for ASP .NET Core or "dateInput: true" in Kendo.
Is there a way to do this? Since I could not fing any "data-*" attribute to use, and the fields do not have an Id, being bound to a viewModel.
Should I generate some kind of Id for each ValidFrom and ValidTo, for each row, and bind a $(id).kendoDatePicker()?