I have a select input for a simpleform with a collection. Is it possible to send three values through?
Something like this?
<option value="3925" value2='abc'>Aberdeen</option>
Where value2
is the additional value i want sending?
<%= demo_distribution.input "sector", as: :select, collection: [['Aberdeen', 3925]], required: false%>