Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
デフォルトのselectboxの代わりにrailsプロジェクトで使用したいのですが、それがどのようなものであるか、またはコードにどのように実装するかがわかりません。
rails_adminは、単なる標準のドロップダウンではなく、先行入力のあるテキストボックスのようなものです。
ありがとう!
彼らが独自に作成したようです。ここで見てみましょう。
https://github.com/sferik/rails_admin/blob/master/app/assets/javascripts/rails_admin/ra.filtering-multiselect.js
jQueryとjQueryUIに依存しているように見えるので、プラグインを取り出して作成すると便利です。