Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datepicker close when changing month #756

Open
Gael42 opened this issue Aug 25, 2015 · 2 comments
Open

datepicker close when changing month #756

Gael42 opened this issue Aug 25, 2015 · 2 comments

Comments

@Gael42
Copy link

Gael42 commented Aug 25, 2015

It looks likes this bug occurs again :
#112

Clicking the 'next month' button without any value in the input close the the datepicker

Tested with FF 40.0.2 & Chrome 44.0.2403.157 m & Safari 5.1.7 (all on PC with win 8.1)

Anyone got an idea of what the source of this issue is ?

And BTW thank you for sharing this awesome work, it's a pleasure to work with !


edit :

  • i found an ugly workaround : put my placeholder text as inital value of the date field
  • in this case, to prevent the placeholder value to being sended, you'll need to run onStart: function () { this._hidden.value=''; } when you have no value set to the form field
@dcworldwide
Copy link

Having this issue too

@leonmondria
Copy link

Resolved mine. Turns out i put the input inside a label.

Clicking the label activates the input. The whole picker + backdrop is placed in the label, so clicking the backdrop (or anywhere in the popup) activated the picker again and caused the picker to close and open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants