-
Hi! Do you have some recommendations on how to load a modal server side? More specific, the contents of the modal when the modal is opened. I would like to do e.g.
Or does the Modal have something like a load function where it would be able to fetch the content? Also: Keep up the good work! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
I have tried something out myself by using HTMX. I have added an id to refer my modal content:
And added an eventlistener for the
Is this a good approach? |
Beta Was this translation helpful? Give feedback.
If I understand your problem correctly, you want to dynamically load content (specifically an employee selection list) into a modal after it opens, rather than including it in the initial page load.
What do you think about this solution?