lib/hotwire_combobox/helper.rb in hotwire_combobox-0.1.36 vs lib/hotwire_combobox/helper.rb in hotwire_combobox-0.1.37
- old
+ new
@@ -43,11 +43,15 @@
alias_method :hw_async_combobox_options, :hw_paginated_combobox_options
hw_alias :hw_async_combobox_options
protected # library use only
- def hw_listbox_options_id(id)
- "#{id}-hw-listbox__options"
+ def hw_listbox_id(id)
+ "#{id}-hw-listbox"
+ end
+
+ def hw_pagination_frame_wrapper_id(id)
+ "#{id}__hw_combobox_pagination__wrapper"
end
def hw_pagination_frame_id(id)
"#{id}__hw_combobox_pagination"
end