Skip to content

Commit

Permalink
Add Search to Currencies' drop down when adding/editing Chargeback Rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilda Stastna committed May 21, 2018
1 parent a0126da commit bca2d4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/chargeback/_cb_rate_edit.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
.col-md-8
= select_tag("currency",
options_for_select(currency, @edit[:new][:currency]),
"data-miq_observe" => {:url => url}.to_json)
"data-live-search" => "true",
"class" => "selectpicker")
:javascript
miqInitSelectPicker();
miqSelectPickerEvent("currency", "#{url}");

%h3
= _('Rate Details')
Expand Down

0 comments on commit bca2d4a

Please sign in to comment.