best_in_place icon indicating copy to clipboard operation
best_in_place copied to clipboard

Add possibility to use `type="date"` from HTML 5

Open thiago-negri opened this issue 8 years ago • 0 comments

I'd like to use input type="date" from HTML 5 instead of jQuery UI Datepicker, and fallback to jQuery UI Datepicker, like so:

$(document).on('turbolinks:load', function() {
  if ($('[type="date"]').prop('type') != 'date') {
    $('[type="date"]').datepicker();
  }
});

thiago-negri avatar Sep 28 '16 16:09 thiago-negri