This gem is easing the installation of the chosen JavaScript library, but it isn't easing the use of it.
This gem should also include a helper allowing a developer to use chosen using an unobtrusive way.
For instance, have a JavaScript file looking for a data attribute in order to apply chosen, like data-chosen="true".
This gem is easing the installation of the chosen JavaScript library, but it isn't easing the use of it. This gem should also include a helper allowing a developer to use chosen using an unobtrusive way.
For instance, have a JavaScript file looking for a
data
attribute in order to apply chosen, likedata-chosen="true"
.