I have a Rails form which includes a dropdown as shown below:
<%= f.select :facility_id, options_for_select(@entities.collect{ |e| [e.entity, e.entity] }, 1 ), {include_blank: '-Select-'}, { id: my_entity'} %>
I also have 2 more dropdowns similar to the one above.
- I would like to make the above dropdown as a multiselect dropdown. How can I achieve that?
Please help!
Thanks