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

Retrieving the flatpickr instance at runtime don't work with altInput #2808

Open
gumbarros opened this issue Oct 20, 2022 · 2 comments
Open

Comments

@gumbarros
Copy link

Repro:
https://jsfiddle.net/d2uxoehj/1/

  • flatpickr version used: Latest
  • Browser name and version: Firefox 105
  • OS and version: Pop!_OS 22.04
@jamesj2
Copy link

jamesj2 commented Dec 23, 2022

I'm using flatpicky with bootstrap input group and I got mine to work using the parentElement, ie document.querySelector("x").parentElement._flatpickr.

@ghiscoding
Copy link
Contributor

the provided jsfiddle doesn't even import Flatpickr so that for sure won't work :D

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