I am using local storage to set some local device data in Retool Mobile.
I have a collection view when on checkbox press, I want to set a value in local storage for that row.
However, using the action "Set local storage" or running a custom script with localStorage.setValue
doesn't seem to be setting the value.
The expression is repo_{{item.id}}_seen
with a value of true
(boolean).
Update: I think the issue is that item
is always the first item in the list -- not the item whose checkbox was pressed.