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

Multiple html instances of the calendar being created when navigating back to the page #128

Open
mustn opened this issue Jan 20, 2025 · 0 comments

Comments

@mustn
Copy link

mustn commented Jan 20, 2025

I am using <ng2-flatpickr> in angular for choosing scheduleDate.
ng2-flatpickr create calendar html before </body>

but each time go to schedule page it creates this html code again without removing the previous.
so if I want to query on it by className I will get more than one .. and that's not the expected.

this is from inspect console

Image

any solution.

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

1 participant