jtsage / jtsage-datebox

A multi-mode date and time picker for Bootstrap (3&4), jQueryMobile, Foundation, Bulma, FomanticUI, and UIKit (or others)
http://datebox.jtsage.dev/
Other
474 stars 166 forks source link

Date/time pickers should recognise min and max attributes #238

Closed wwuck closed 11 years ago

wwuck commented 11 years ago

The new HTML5 input tags for date/time specify "min" and "max" attributes to restrict the selectable range. The date/calendar and time pickers should recognise these attributes and restrict the input values accordingly.

eg. <input type="date" min="2013-02-01" max="2013-04-30" /> would only allow selecting dates between 1 February 2013 and 30 April 2013.