How to use Adalo Toggle component with Xano Boolean fields?
I tried various workaround and the issue is when turning the Adalo Toggle to false, the input value in the json file is null, hence Xano cant convert the field to false, but keeps the it to true.
Well I think it is for Adalo to fix, because this is a shortcoming in the integration, the toggle, switch component and adalo form, should send “false” if that is what Xano requires.
There is a long solution in Conditional Set Filters - YouTube but I don’t think you can call this an ‘integration’ if out the box components don’t work.
Raise a support ticket with your request, I will do the same. Also add it to the roadmap where I and others will upvote it.
Having tried this myself I find that the null values are interpreted as false. So it would appear for me that the toggle, switch and form components can operate a boolean with a true or null payload. So Adalo DOES work in this sense.
Perhaps your problem comes from the fact that Xano expects a full request.
So when you are updating one value alone it is wiping all others.
The issue I am facing is that I have in my database multiple boolean fields, and following this tutorials I am starting to build a complicated endpoint in Xano for a simple need (frustrating). So maybe it is a Xano issue rather then an Adalo one.
I will keep trying to find a simple solution to update my multiple boolean fields and keep you posted