Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Make DateInputWidget use a simple text field (Pylons/deform#101) #114

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
4 participants
Contributor

rbu commented Aug 28, 2012

input[type=date] is now supported by modern browsers and displays a
native date picker. This makes sense for a native widget, but opens two
datepickers when the jquery UI datepicker is added. Revert to type=text
for now.

Make DateInputWidget use a simple text field (Pylons/deform#101)
input[type=date] is now supported by modern browsers and displays a
native date picker. This makes sense for a native widget, but opens two
datepickers when the jquery UI datepicker is added. Revert to type=text
for now.
Contributor

rbu commented Aug 28, 2012

issue #101

Member

kiorky commented Sep 21, 2012

Maybe it would be better to fix the original issue ?

Contributor

tonthon commented Sep 21, 2012

Note : The jquery datepicker allows much more customisation than the browser's widget (through the altField).

Contributor

rbu commented Nov 7, 2012

@kiorky, the only way I know of to avoid using the native date picker in modern browsers is not to use input[type=date]. What do you mean by original issue? My patch makes this a "no native" date input, the other solutions I see are making it a "native only" input that has no fancyness in old browsers or making it a "native, if available" input which requires support from the jQuery UI datepicker and has its own problems (such as users seeing different pickers ond different devices).
There could be an option for a deform user to choose between these, and the patch simply provides the first choice.

Member

ppaez commented Mar 20, 2013

The solution in pull request #142 was merged.

@ppaez ppaez closed this Mar 20, 2013

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