Raku
January 9, 2023, 5:15pm
1
How can I add the same item multiple times in a repeating group?
Suppose I have a data type named Items, which includes different fields such as Item Name, Item Description, and Item Slug.
I have a button that adds a single item to the repeating group, but when I try to add the same item again, it does not get added because Bubble does not allow duplicate data in a repeating group.
So, how can I add the same item more than once in the repeating group?
Please help me
Hi there, @Raku … when you say you are adding a singe item to a repeating group, what does that mean? What is the repeating group’s data source?
Best…
Mike
Raku
January 9, 2023, 8:05pm
3
The data source of the repeating group is a custom data type in the database.
By single item, I mean a specific row or item of that data type.
For example, I have a data type named “Task” and this data type have a list of item with different fields (Name, Description, and so on)
I am searching for a specific item in the Database by sorting/filtering it using a name and using the plus item action to add it to a repeating group.
Users will have the option to add or remove this data/item from the repeating group.
But I want to add this same item in a repeating group without duplicating it in a database.
Is there any way to do it?
No, not like this…
You will not be able to add a task that already is added in your repeating group.
But you can explore some workarounds… take a look in what I created here for you. See if it is something like this that you need…
Editor here .
Do you understand what I’m doing?
1 Like
Raku
January 10, 2023, 12:18pm
5
Thank you so much @rpetribu for taking the time to help me.
Your solution is exactly what I was looking for and I really appreciate your effort and creativity.
You are a genius and I am very grateful for your help.
Thank you again!
1 Like
system
Closed
March 20, 2023, 5:15pm
6
This topic was automatically closed after 70 days. New replies are no longer allowed.