mod/pointer/set/abstract/02_pointer/html_views.rb in card-1.96.1 vs mod/pointer/set/abstract/02_pointer/html_views.rb in card-1.96.2

- old
+ new

@@ -71,18 +71,18 @@ def radio_input haml :radio_input end def select_input - options = [["-- Select --", ""]] + card.option_names.map { |x| [x, x] } + options = { "-- Select --" => "" }.merge card.options_hash select_tag("pointer_select-#{unique_id}", options_for_select(options, card.item_name), class: "pointer-select form-control") end def multiselect_input select_tag "pointer_multiselect-#{unique_id}", - options_for_select(card.option_names, card.item_names), + options_for_select(card.options_hash, card.item_names), multiple: true, class: "pointer-multiselect form-control" end private