Hi, I’m relatively new on bubble and I’m trying to keep a list of telephone numbers as a list field for clients.
The type of the object is at_client and the field is called clienttel.
I’ve created a single input and an add button that makes changes to this field, adding the phone that user provided and clearing the inputs. The adding part is working fine.
The problem is, to show those numbers, I’ve created a repeating group and the data source to it is the field clienttel. It’s showing it perfectly but I wanted to put an trash icon beside each entry on repeating group that would let the user delete that entry like below:
My problem is that when I try to set the workflow for this trash icon, I don’t get parents group at_client as a thing to change…the nearest I get is current page at_client, and I haven’t build the pages to have an single item so it won’t work.
I’ts been hard to find out a solution but I can feel I’m missing something basic…
Can anyone help?
I don’t know if that’s right but I guess that’s the link to view the editor:
The thing here is that you’re calling for an action “Make changes to a thing”, while a “number” is not a Thing (DB Object).
What you need to try to edit is the Object (in your case, “at_client” object if I understand correctly), then specify that you want to remove the element of the list of numbers that is equal to the value of the current cell (of type number).
Yeah, I could state that but the repeating group to show those phones doesn’t work if I use the object “at_client” as source…it needs to be number to work correctly.
The repeating group is set up fine - you don’t need to change the type.
You just need to pick the right object to edit in the workflow that you are invoking from clicking the trash can, then delete the number from Current Cell from the list of numbers within that object field.
since the trash can is inside a repeating group cell of type number, it doesn’t show me the option to make change to a thing of type at_client unless I change the entire repeating group type too.
It should be something like - Modify At_Client object’s field clieenttel, and set the new value of that field to current value of that field without the number equal to the current cell number.
Hoo, now I get it…I was looking for the “preset option” Parent group’s at_client and since it doesn’t appear to me I wasn’t aware that I could select the entire popup and get it’s at_client refference.
Seems like it’s working
Thank you.
(btw, I’ve used tasky from u guys to start learning and trying out bubble and it’s awesome. I’m trying to make some improvements as a learining experience and maybe buy one of the other templates you have in the future to start a real MVP)