This makes the select element be invisible with no value (see the data-bip-value attribute all messed up) and then when I click on it, the data-bip-value attribute becomes '26' (which is is supposed to be) and then the dropdown is visible. How do i make it have the correct default value from the get-go?
So i have this code in my view:
The variable my_coll has this hash: {"29"=>"Parties", "30"=>"Media", "27"=>"Camping Gear", "26"=>"Home Improvement"}
The problem is, this outputs the following HTML:
This makes the select element be invisible with no value (see the data-bip-value attribute all messed up) and then when I click on it, the data-bip-value attribute becomes '26' (which is is supposed to be) and then the dropdown is visible. How do i make it have the correct default value from the get-go?