fix for #978 - HTML5 date input support #982

Merged
merged 1 commit into from Dec 10, 2015

Projects

None yet

3 participants

@paulsputer
Collaborator
  • JS patch/hack to coerce legacy wicket into talking to a HTML5 input type
  • JS script to hide inline help on date format when using HTML5 date picker
    • Date picker shown in user locale and standard does not support custom
      format.
    • Always sent in ISO8601 format
@paulsputer paulsputer fix for #978 - HTML5 date input support
+ JS patch/hack to coerce legacy wicket into talking to a HTML5 input type
+ JS script to hide inline help on date format when using HTML5 date picker
  + Date picker shown in user locale and standard does not support custom
  format.
  + Always sent in ISO8601 format
71a347e
@gitblit
Owner
gitblit commented Dec 10, 2015

👍 Gorgeous. Now if only all the browsers had the Chrome date picker.

@gitblit gitblit merged commit 63e4d96 into master Dec 10, 2015
@bviktor
Contributor
bviktor commented Dec 10, 2015

Does that work in Blink-based browsers, e.g. Opera?

@gitblit
Owner
gitblit commented Dec 10, 2015

Blink-based, should. That's Chrome's engine now, right? Presto-based, no idea; I no longer test Opera.

@paulsputer
Collaborator

@bviktor according to http://caniuse.com/#search=date Opera is supported, though I've not confirmed this. I tested:

Chrome - Supported
Edge - Supported
Firefox - Fall back to textbox (see https://bugzilla.mozilla.org/show_bug.cgi?id=825294)
IE - Fall back to textbox

@paulsputer paulsputer deleted the 978-milestone-date-selector branch Dec 10, 2015
@bviktor
Contributor
bviktor commented Dec 10, 2015

Opera is Blink-based :) Thanks for the report, @paulsputer , and also for all these nice additions recently :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment