Multi select for an answer

1
I have a many to one association between two tables, what is the best design (in terms of domain model and widgets) if I wanna multi select from the many table using the one entity as a data source for a form page? multi select widget requires many to many   I can still change the domain model if needed but I need multiple values to be selected from a dropdown
asked
1 answers
0

I think a multiselect dropdown is not a solution for a one-to-many relation.

 

A solution I am thinking of is a dataview with the single object (from the ‘one' table).

Inside of it you can list out the possible options (from the many table).
In this list, you can make checkboxes or toggle widgets, to let the user select the options.

On the change event of the toggle/checkbox you can then change and commit the option to the relation of the dataview object.

answered