Dear all,
I was trying to pass a list of tags from a field to a custom state that I need to display in a repeating group for an edit page (edit a list of tags).
here is the strange behaviour:
- On the edit contact workflow, I set the custom state with a list of tags
- Result: OK, it sets the list
- Then I can my view parameter (single page app) to show the edit page
- Boom the custom state is empty
Makes no sense to me. No refresh, nothing strange happening (yes I checked potential on page load event, step by step)
Now the even more funny thing. If I now open a popup from my edit page to add tags, select some, confirm, close the popup, then… the same custom state now has the value I added…
I will use a tmp tags field in the database instead, but if anyone has an idea to solve this mistery that would be nice.