I would like to have a form with a list of options you can add to that item.
As an example, I have a DB record car and would like to add a car and while adding a car have a list of options that I can mark as being part of the car. I have created another DB record called options and have a relational link in cars back to the DB record of options.
I have a form to add a new card and have created a list in that form using the options DB as its data source and have a toggle in the list for each item.
but I don’t know how to make the toggles selectable and then to submit their value on the form submit action.
You can’t current use a form to manage many-to-many relationships, but you could make a screen that has a custom list of options and each list item could have a toggle that toggles whether the Current Option is included in the Current Car.
could you please explain how this can be done? I have the list and each item has the tittle and a toggle, but i cant seam to figure out how to bind the toggle . When i press each toggle it wont change state.