Multiselect two-column transfer widget with Twitter bootstrap theme

后端 未结 4 694
鱼传尺愫
鱼传尺愫 2021-02-06 00:19

I am looking for a multi-select jquery based two-column transfer widget having a look and feel compatible with twitter bootstrap. Typically transfer select widgets have two adja

4条回答
  •  悲&欢浪女
    2021-02-06 00:31

    The widget that user698585 wrote is 99% of the way there, and is a great widget, but there are some bugs in it, namely:

    1. The widget causes the webpage to jump back to the top whenever you move values between the two columns. This is an issue if you have to scroll down to the widget.
    2. The widget doesn't support tag values with spaces or ampersands in them.
    3. There isn't an exposed method to initialize the right column with values from the left, so if you're using the widget to store selected values in a database, there isn't a way to initialize the widget with those selections when the user returns to the page later on.

    I've notified the author of the issues and provided sample code fixes, but in the meantime, if you've run into these issues, you can find a fixed fork of the widget here.

    Thanks, user698585 for all your hard work!

提交回复
热议问题