Please how do I remove./delete a list of items from a list in state?
Thanks.
Please how do I remove./delete a list of items from a list in state?
Thanks.
Set the state to be the state’s list :minus list [whatever items you want to remove]
Hi there, @Buddha… you should be able to use the :minus list operator to do what you described. So, set the custom state’s value to its current value minus the list you want to remove, and you should be good to go.
Best…
Mike
Hello Mike,
This :minus works, however, it leave behind empty values. This causes an error when I use the value of the state in API call.
Please how can resolve it.
Commas with nothing in them…
Hi @NigelG , please could you kindly help with the error I run it (above post).
The :minus works, but leave behind empty values. instead of completely deleting it.
What happens when you display the list in a repeating group or do a :count?
It is really empty, or is it just something hanging around in the data tab?