0

Is there an easy way to limit the date to today's date and older using native date picker through <input type="date/> on iOS?

OliverJ90
  • 1,291
  • 2
  • 21
  • 42
  • Can't you use the min and max attributes? – A1rPun Jun 04 '14 at 11:06
  • no, they don't seem to work. – OliverJ90 Jun 04 '14 at 11:12
  • [related question](http://stackoverflow.com/questions/8417199/how-can-i-set-a-max-value-on-my-html5-date-input-so-that-it-could-be-recognized) It looks like safari doesn't support it yet. – A1rPun Jun 04 '14 at 11:16
  • Here is a workaround for Cordova. http://stackoverflow.com/questions/25943511/limit-the-selectable-dates-in-native-datepicker-in-ios-phonegap-app/26086166#26086166 – gro Oct 18 '14 at 17:27

0 Answers0