When I pass a value of null to an igDatePicker the minDate setting is correctly reflected in all dates before being disabled.
However when you select the first possible date you still get the validation message "entry was less than the minimum value of ... and was set to the minimum value".
I know I can probably get around this by setting the time to 0:00 but this is confusing behavior nonetheless.
Here is a demo: http://jsfiddle.net/a2sh018c/
Hello Ben,
Thank you for contacting the Infragistics support!
The behavior that you observe is caused because of the specifics of the Date object and is actually caused by a jQuery UI date picker’s option (minDate).
I am providing an example of how you can achieve your scenario. You just need to set the minDate to – 0. Please, see the attached JSFiddle - jsfiddle.net/.../
If you have any additional questions related to this scenario or in case this approach is not suitable for you – please let us know!
Thank you once more for using Ignite UI!
Best regards,Alexander Marinov
Thanks for your reply but his workaround is only for when the minDate is today. In practice we need to have it 5 days from now.(Edit: I found that the 0 can be replaced with 5)Moreover, while trying to implement this it seems like the MVC helper does not support setting minDate to an integer.