Currently, I manage to create items in my list and display them with the DynamicComponent extension.
But I can’t delete an item by pressing a button.
I am using the notifer to open a text entry popup, and when I validate, the text is added to the list. To this, I add a “trash” button which I normally use to delete the item. But this is where I block.
I searched for tutorials, but I cannot find the one that meets my expectations. What I want to do is:
Press an “Add” button
A popup opens to enter a text
The entered text is added to a list
Each element of the list must have a clickable button or icon to: edit, delete and possibly move the element to another position.
Could someone help me unblock myself from this situation please?
Okay, I’m coming back here because I can’t delete my item.
I followed the first link you gave me that helped me improve the way I added the elements, thanks.
On the other hand, to delete, I cannot. I have a list index error, I don’t understand.
I have a button that should be used to delete the entire element, another button that should be used to edit the text of the element. I am attaching the .ais of my screen, if you have any idea how I should do it that would be great! thank you
The bug appeared when I tested in the companion. I added several texts to the list, and wanted to try the Edit button. The first text worked, but when I wanted to edit the second I got this error message
Sorry, I had the same bug as this morning on the Gowri version. But actually it’s when I switch from one project to another, I have the bug at the start, and I refresh the screen and it works. I have to go too fast