I'm trying to reset user input values on form components back to their default values in a JS query, one of which is a boolean switch.
I'm using switchComponent.setValue(false) in my query which works to reset the switch back to false when I run the query in my browser (Chrome and Mobile Safari both work fine) - no error message.
However, when I'm in the iOS app, I get an error message in the console which says "switchComponent.setValue is not a function".
Do you have any suggestions as to why I'm getting an error in the iOS app but it works fine in browser and what I can do to fix this?