-
Notifications
You must be signed in to change notification settings - Fork 706
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 and HTMX #812
Comments
What's not working? I'm using flowbite + htmx together, and it generally works well. Try tying to htmx.onLoad rather than afterSettle. |
I try but it's not working and no error in DEV TOOLS. I have a link in my layout :
My view (Recherche) contains only my date picker :
I Nothing happens after loading my view in the DIV (contenusite) Thanks for your help |
I am having the same issue. Was anybody able to get this working? My initial thought was that I would have to re-initialize my Datepickers using the Edit: I did some more digging. You can re-initialize the date pickers manually by running Edit edit: Here's the solution - if you also import the |
I'm using flowbite with htmx and i want to use a datepicker in a dynamically loaded content.
I'm using v.2.3.0 and i put in my layout a js with :
htmx.onLoad(function (elt) { initFlowbite(); })
It's not working.
I try on my htmx call :
hx-on="htmx: afterSettle: initFlowbite();"
but it's not working
Here is my flowbite picker :
The text was updated successfully, but these errors were encountered: