- url = url_for_only_path(:action => 'tag_edit_form_field_changed', :id => @sb[:rec_id] || @edit[:object_ids][0])
#cat_tags_div
  - tags = @entries.sort_by { |key, _| key.downcase }
  - options = @entries.empty? ? [[_("<All values are assigned>"), "select"]] : [[_("<Select a value to assign>"), "select"]] + tags
  = select_tag("tag_add",
    options_for_select(options, "select"),
    "data-miq_observe" => {:url => url}.to_json,
    "class"            => "selectpicker")
  :javascript
    miqInitSelectPicker();
    miqSelectPickerEvent("tag_add", "#{url}", {beforeSend: true, complete: true});

- url = url_for_only_path(:action => 'tag_edit_form_field_changed', :id => @sb[:rec_id] || @edit[:object_ids][0])
#cat_tags_div
  - tags = @entries.sort_by { |key, _| key.downcase }
  - options = @entries.empty? ? [[_("<All values are assigned>"), "select"]] : [[_("<Select a value to assign>"), "select"]] + tags
  = select_tag("tag_add",
    options_for_select(options, "select"),
    "data-miq_observe" => {:url => url}.to_json,
    "data-live-search" => "true",
    "class"            => "selectpicker")
  :javascript
    miqInitSelectPicker();
    miqSelectPickerEvent("tag_add", "#{url}", {beforeSend: true, complete: true});

Add live search to values dropdown on Tag Edit Screen
Add live search to values dropdown on Tag Edit Screen

https://bugzilla.redhat.com/show_bug.cgi?id=1488004
