Repeat the container for a collection of data

1
0
-1

I have tried the same steps as mentioned in documentation to deletion from container a particular item which are as follows:

In the container, add a button widget on the same line as the input widget labelled Fruit type, with the following properties:

1.Label: Remove this fruit

2.Alignment: right

3.Style: danger

4.Action: Remove from collection

5.Collection: $collection, to point to the current collection, fruits

6.Remove: Item, to remove the current item related to this line

7.Item to remove: $item, to reference the current element

But on click of delete button corresponding to a row still last row is only getting deleted. I want to delete a specific row by clicking to its corresponding delete button. I am using community version. Please let me know whether it is possible or not in community version and if possible then how to do so?

1 answer

1
0
-1

Hello,
It's possible to do that in the community version.
You need to create a container like you already do. Then, in the same container, add button with those attributes:

Action = Delete from collection
Collections = $collection
Delete = Current item
Item to delete = $item

PS: Maybe the translation of the button attribute are not the same, i have 'translate' them from my French version)

Notifications