Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Dateinput] not handling initialization when yearRange[x] == 0 #94
True .. perhaps I should have checked for min,max,yearRange being undefined (or not).
In my case I wanted a yearRange of [-100,0] for entering birth dates. But the zero was being taken as undefined rather that zero.
Also, I could not see why setting min and max would not have the same effect as setting the year range.
Aside, in the validator .. min and max on dates is ignored. Is that correct ?
this is now fixed. here is the commit:
now min = 0 is taken into account