How to set null value for date picker
It seems it is not possible to clear the value in a date-picker. Also setting model to null results in date-picker reseting it back to min-date.
Would be nice if date picker honors the required attribute
Honza
Would you please try to reproduce your issue in this plunkr?
http://plnkr.co/edit/9jDLSN4owvFc9aDkFbOS?p=preview
http://plnkr.co/edit/UWY9SbVKVsVRPGlMISUE?p=preview
In fact I am able to clear the value if I set the model to undefined.
But if I just delete the text from the textbox, it makes the datepicker invalid.
I think this would be perfectly fine behavior if the value is required, but if the value is optional then there is no way how to clear the value and have the datepicker valid.
Honza
It is enough to remove selected date in the plunkr and you get:
TypeError: Object #
I'm using Chrome 32.0.1700.77 (Mac).
Lukas
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.