Skip to content

dateInput widget doesn't work well on chrome and opera #101

Closed
tonthon opened this Issue Jul 8, 2012 · 2 comments

3 participants

@tonthon
tonthon commented Jul 8, 2012

Since chrome and opera have added a specific handling of input with type='date', the jquery datepicker doesn't work anymore.

One solution could be to use a simple input type='text', avoiding the browser's calendar to be displayed.
Another solution could be to test the existence of input of type='date' handling and to use datepicker only when needed.

@rbu rbu added a commit to rbu/deform that referenced this issue Aug 28, 2012
@rbu rbu 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.
27ec596
@rbu rbu added a commit to rbu/deform that referenced this issue Aug 28, 2012
@rbu rbu 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.
f88bf60
@rbu rbu added a commit to rbu/deform that referenced this issue Feb 12, 2013
@rbu rbu 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.

Conflicts:
	deform/templates/dateinput.pt
dc5279a
@rbu
rbu commented Feb 12, 2013

Besides pull #114 there's also the somewhat larger solution given in #142

@ppaez
Pylons Project member
ppaez commented Mar 20, 2013

The solution in pull request #142 has been merged, it solves this issue.

@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
Something went wrong with that request. Please try again.