codevise / activeadmin-searchable_select

Searchable select boxes for forms and filters
Other
96 stars 33 forks source link

Add a small description of how to pass options to Select2 #27

Closed gerardosandoval closed 3 years ago

gerardosandoval commented 3 years ago

Ref: https://github.com/codevise/activeadmin-searchable_select/issues/10

Hey! I've just added a small description of how to pass Select2 configuration values via data-attributes. It worked for me and can save some time for others.

tf commented 3 years ago

Thanks! That will surely come in handy!