Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

update datepicker.js#4014

Closed
sccheruku wants to merge 1 commit intoangular-ui:masterfrom
sccheruku:patch-1
Closed

update datepicker.js#4014
sccheruku wants to merge 1 commit intoangular-ui:masterfrom
sccheruku:patch-1

Conversation

@sccheruku
Copy link
Contributor

On line 656:

Angular validation is triggered when date is an empty string because an empty string is an invalid date object. Setting date to null mitigates this issue.

This happens when the input type is set to 'date'

On line 656:

Angular validation is triggered when date is an empty string because an empty string is an invalid date object. Setting date to null mitigates this issue.
@wesleycho
Copy link
Contributor

I like this change - good catch.

@wesleycho wesleycho added this to the 0.13.2 (Performance) milestone Jul 24, 2015
@wesleycho wesleycho closed this in a65a5fa Jul 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants