Join the Webstudio community

Updated 5 months ago

radix popover - form submission

At a glance
having an issue with using the radix popover with a form inside of it. I have tried my own example but i also tried it with the suprabased authentication example as well. Is there some setting i'm missing? Anyone have experience using this component?
J
b
O
7 comments
Cant help you if I dont know what the problem is. Please share

  1. what the exact problem is
  2. a builder link
this is a link to an example. expected behaviour would be to click the button open the popover contents (which in this case is a login form) and be able to submit the form.
seems to get caught on toLowerCase (at least in the console)
https://apps.webstudio.is/builder/9f217c9f-2107-4bac-a704-aec65d19af82?authToken=2b33cc77-beba-4904-9521-544a521f7292&mode=preview
if you pull the form outside of the radix popover you can then submit the form
I created a minimal version of this to narrow down the issue. Minimal version does not have the issue so I suspect custom code at play is messing it up. Try removing things to see what's causing the issue. Btw when i tried the login form, nothing happened, including no error in the console.

Here's my minmal attemtp at reproduction

https://playground-r7uu4.wstd.io/login?
how do i create that button that closes either the radix popover or the dialog box. i can't see anything on the existing buttons in the component
dialog has one, but popover should have one indeed
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord