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

Edit hour and minute in a MODAL #2983

Open
ivanmori opened this issue Jan 20, 2024 · 4 comments
Open

Edit hour and minute in a MODAL #2983

ivanmori opened this issue Jan 20, 2024 · 4 comments

Comments

@ivanmori
Copy link

I have an input linked to the flatpicker inside a Modal and when I display the calendar with enabletime set to true, I cannot edit in the hour or minute box. However, I can edit it when my input is on the page (outside of MODAL)

@damienBAUDET
Copy link

I've got the same issue, did you solve it ?
Thanks.

@dietherdave
Copy link

Currently experiencing this one too. Any solutions?

@dietherdave
Copy link

dietherdave commented Apr 25, 2024

NVM. Managed to find a fix for this from another issue open.

          document.addEventListener('focusin', (e) => {
                if (e.target.closest(".flatpickr-time") !== null) {
                    e.stopImmediatePropagation();
                }
            });

@jaroslavlibal
Copy link

+1

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

4 participants