I’m newer here, but trying to figure out how to change the status of a listing by auto-binding using a toggle (think of turning an Airbnb listing on or off). I’m getting stuck because the field options are blank when I try. My ‘listing’ data type has a ‘status’ field with options Completed, Draft, or Rejected. Any ideas? Maybe my parent groups are classified wrong or something?
Field to modify Is “parent group listing”.
and if there is a privacy rule on you “listing” data type, u have to check the auto-binding .
To the best of my knowledge, You can use toggle for options that is not more than 2, i.e Boolean
I don’t Know the way u’ve structured your backend workflow, if you don’t mind send a meet/zoom link, I can give you 15min of my time, let’s do it together
Refresh your editor see if that works.
Then test to check if it’s an issue with your Switch plugin, try place a Bubble checkbox element in the same group and see if you can autobind the checkbox.
Checkbox also doesn’t show any options in the field to modify dropdown. And I’ve previously tried a different switch component, which also didn’t show any options. It must be the way the parent groups have their data source, or how I’ve structured the BE. Although I tried switching out to a boolean data element (as opposed to an element that has three options). That didn’t work either.
Toggles like check boxes will only accept yes/no datatypes as valid types. Invalid tyoes won’t show as an option in the autobind dropdown.
Instead of autobind you can use an icon paired with the “element clicked” triggers with appropriate condtionals, to create toggle behaviour.
Has the group the element is in got a data source and data type assigned?