2 modals inside a same dropdown
Hi everyone, i create an menu dropdown, and inside this dropdown i wanna open the modal with create form, but, i can open just 1 modal, if i insert 2 modals i create a infinite loop, anyone have idea what i can do?
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1071033581528424519/Screenshot_2023-02-03_alle_12.40.53.png)
6 Replies
quickest-silver•2y ago
Hey @_leonardomuniz, can you share a code sample for your case?
deep-jade•2y ago
quickest-silver•2y ago
Thank you! Checking it now!
deep-jade•2y ago
what I left commented, is the part of the code that creates the loop
quickest-silver•2y ago
Uncommented the part but couldn't get into the loop 😅 I think it worked fine. Can the looping be caused by the content of the modal? Like if you have some kind of effect or anything inside it 🤔
deep-jade•2y ago
thanks, I'll try something else, if I succeed I'll come back here to tell you