I have a collection “product category” which has two fields “category_name”(primary_key), “icon_image” . I have created a admin dashboard where I want to delete a item from this collection using the “category_name”. I have connected a dropdown list with the collection and a button(delete action button). But when I’m trying to delete a selected item from dropdown, the delete button is always deleting the 1st item in collection. But I need to delete the item which I’m selecting in the dropdown. How can I do this? Can anyone help me with a complete explanation?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Delete Item from Collection using dropdown | 5 | 318 | July 26, 2019 | |
| How to delete the item on my database collection? | 12 | 3960 | November 23, 2018 | |
| Clear contents of primary field in collections | 11 | 575 | March 9, 2018 | |
| Please Help! Delete Specific Records in a Collection? | 5 | 155 | February 26, 2022 | |
| Desperately finding a solution to delete rows in Collections | 17 | 1320 | January 5, 2020 |