set/all/autocomplete.rb in card-mod-search-0.15.6 vs set/all/autocomplete.rb in card-mod-search-0.16.0

- old
+ new

@@ -11,18 +11,20 @@ autocomplete_item :add, icon_tag(:add), autocomplete_label end def autocomplete_field item, options_card_name, extra_classes="" haml :autocomplete_input, - item: item, options_card: options_card_name, + item: item, + options_card: options_card_name, extra_classes: extra_classes end def name_autocomplete_field item, extra_classes="" # select_tag "autocomplete_#{card.key}", "", class: "_select2autocomplete" text_field_tag "pointer_item", item, class: "pointer-item-text form-control _autocomplete #{extra_classes}", + placeholder: placeholder_text, "data-options-card": %i[all by_name].to_name end def add_autocomplete_item_path path @@ -36,10 +38,10 @@ def goto_autocomplete_icon if card.fetch :image field_nest :image, view: :core, size: :small else - icon_tag :arrow_forward + icon_tag :forward end end def autocomplete_label card.name