Duplicating BelongsTo modals in RelationRepeater #1778
Unanswered
bilalakcay
asked this question in
Q&A
Replies: 2 comments
-
|
Oh, I'm sorry, but the create mode in BelongsTo will not work inside tables, even if we fix the duplication problem, new data will not come to the select. You can not use sugar and output your own modal with a unique name so that there is no duplication and in the response through selectors return a new select |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks, actually it works well and new entry is added to select after saving modal. Then we close other open modals manually. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, thanks for this great project which really makes development enjoyable.
I have encountered an issue with the BelongsTo creatable modals within the RelationRepeater field. The problem arises when adding multiple rows using the RelationRepeater; each row causes the modal window to duplicate.
I end up three modals open for three rows after clicking Add button.
I know we can use unique names when utilizing the ActionButton-inModal, but this approach doesn't seem to resolve the issue in this case. Despite giving each modal a unique identifier, the modals still duplicate as rows are added.
Is there a recommended solution to prevent this modal duplication in RelationRepeater?
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions