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

rangePlugin doesn't work properly #1575

Open
acespace90 opened this issue Nov 20, 2018 · 3 comments
Open

rangePlugin doesn't work properly #1575

acespace90 opened this issue Nov 20, 2018 · 3 comments

Comments

@acespace90
Copy link

Hi, if I use rangePlugin and both the input are input type="date" the first input is converted with type="text but not the second one that remains type"date"

So if I transform the input type="date" in input type="text" it works on desktop, but not on mobile where only the first field works with native datepicker, not the second one.

Moreover, the plugin does not seem to work properly on mobile even on the demo page here: https://flatpickr.js.org/plugins/#rangeplugin-beta.

https://jsfiddle.net/jx8b4g1h/

Your Environment

  • flatpickr version used: 4.5.2
  • Browser name and version: Chrome 70.0.3538.102
  • OS and version: MacOS Sierra
@lee-chase
Copy link

Any help or workaround found for this issue?

@acespace90
Copy link
Author

@chmln ? :-)

@Pkiri
Copy link

Pkiri commented Oct 2, 2021

Have you tried setting de config option disableMobile: true? It seems like the plugin does not function correctly with the mobile option. For me setting the disableMobile makes the second field also work. Now I only need to worry about #2288

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