Question about the modal component #1289
Answered
by
lovasoa
monsieurmerle
asked this question in
Q&A
|
I have discovered the 'modal' component, and have started to try using it to make my webapp visually less dense. I have then tried to embed froms. They do display correctly, but when I try to send a query through the form, it doesn't actually go through. It sort of makes sense that it doesn't work as if I had opened the form in its corresponding page. I have copied the code almost straight from the website documentation and have done minimal alterations for visuals. I don't know how to actually send the query through the modal component, any guidance with that ? Any help is welcome |
Answered by
lovasoa
May 15, 2026
Replies: 1 comment 10 replies
|
Hi ! Can you give a clean minimal reproduction of your issue ? |
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Thank you for the reproduction, this makes it very clear what you are talking about.
So, this is what is happening:
repro_1does not have anyactionproperty in its form component, so, by default, it submits the form to the current page. When you are visiting the page from repro_1, then the form is submitted to repro_1, where it is handled, it all works.When you embed
repro_1insiderepro_2, then the current page is repro_2, so it submits the form to repro_2, which does not handle it at all.One cleaner way to do it would be:
repro_1.sql