Hey @peter: You’re doing everything right in terms of how to “debug” this, but it’s not obvious. If you wanted to post a link to your editor I’m sure the issue would be something quite simple… Sometimes these are the hardest things to work out.
'Course, it could be that ionic toggles is busted. (I don’t use it but have it installed.)
Basically, you’re doing everything right in terms of how to figure out what’s going wrong… But you could just be doing something painfully dorky and not realize it. (this happens to all of us)
Here’s what I’d suggest:
GIVE UP for a moment on the ionic toggle. Just throw down a built-in checkbox configured the same way. Do your values change THEN?
That’s what I’d do to get unstuck.
If the built in checkboxes don’t work for you, something ELSE is going wrong
It looks like you are not creating the qualities thing and adding it to the current user, so there is no place to store the preferences. To test, add the following workflow:
On Page Load (event) with actions:
Step 1 – Create A New thing with a type of Qualities
Step 2 – Make Changes to Current User >> Change another field where Preferences is set to the Result of Step 1
If you want to save things to the database, you have to create the records and with your given structure, add them to the user. My example was just to test and get you going. You would want to add a conditional check to only trigger the event when the current user preferences field is empty. One user, one record.