I would like to delete a value within a list if the user clicks on a component. However, I only find the block which allows for deletion based on index, not value. Is there a way to delete a value within a list based on searching for a string?
E.g. within the list “Interests”, there are “Sports”, “Music”, “Reading”. I do not know at which index those elements will be located. Hence, I need to search based on the string, not index.
Please let me know if you have any suggestions.