How to prevent duplicate components in the editor? #5412
Answered
by
artf
joaoaugustojr
asked this question in
Q&A
-
I need to know how to prevent duplicate components in the editor, for example: I cannot allow two navBar components to exist in the editor, I create a script that removes this second one but only after adding it to the editor, would there be any way to do this before to drop the component in the editor? Thank you in advance for your help!! |
Beta Was this translation helpful? Give feedback.
Answered by
artf
Sep 22, 2023
Replies: 1 comment
-
You can define |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joaoaugustojr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can define
draggable
property as a function and use your own logic (eg. #4507)