I’m trying to use dmx-bind:checked in a toggle button group. On page load everything works fine. The page loads a table, you can click on any row to bring up a side panel update form.
The update the form works fine the first time it shows, it reloads the server connect query, refreshes the table and the new data shows in the form…except against the dmx-bind:checked. If you submit the same form again all of the toggles have a null value, which posts through the form and sets the permissions to null. The toggle switches show active through bootstrap classes (which work fine) so it seems to be an issue with dmx-bind:checked.
The code for the button group is below, along with a video of what’s happening. Can I use dynamic toggles in this way or does it require the page to reload to bind the checked value?