0

I want to use it in my rails projects instead of the default selectbox, but can't figure out what kind it is or how to implement it in my code.

The rails_admin one is more like a textbox with typeahead instead of just a standard dropdown.

Thanks!

4

1 回答 1

1

看起来他们已经创建了自己的,这里看看:

https://github.com/sferik/rails_admin/blob/master/app/assets/javascripts/rails_admin/ra.filtering-multiselect.js

将它拉出来并制作一个插件会很好,因为它看起来确实依赖于 jQuery 和 jQueryUI。

于 2012-06-12T18:16:47.553 回答