-
Notifications
You must be signed in to change notification settings - Fork 20
Description
The rendering of an <input type="date"/> is incorrect. You are over riding with three drop down selectors. This should be pulled out as browsers know how to render. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date
The problem is with the current solution is that it if your markup specifies an id for the field (not uncommon if you are using <label for.../>) ,the id is repeated for the day, month and year selectors.
Also, year is restricted to max of current year.
You'd almost be better to rely on jquery date, but that brings in a dependency you may not want.
So, suggest you a/ enable an option that allows no library rendering of date field and b/ appends .day, .month and .year to the id if present to prevent html syntax failures and c/ allow specification of min and max dates.