I use unobtrusive validation in my view and apply jQuery-ui timepicker to the text box.
If I select the correct number of hours and minutes in the collector, an unobtrusive check does not start. However, if I insert my fields, after entering and exiting the timepicker text field, it is highlighted in red. An I / O message says that my control must have a valid date.
I know that TimePicker is part of DatePicker, however it looks like unobtrusive JS thinking it is a DatePicker.
Is it possible to disable validation only for this control? Or perhaps make a setting so that the value is not marked as invalid?
Thanks in advance
source
share