V
V
Vasily2016-12-07 05:45:35
Yii
Vasily, 2016-12-07 05:45:35

Is there an analogue of the Select2 widget, but not DropDownList but ListBox?

I use the Select2 widget (created by kartik-v).
0cc90e9fb8194e379dc3a16910a0e300.JPG
Very convenient and great search, but unfortunately the dropdown list format doesn't suit me. We need a ListBox with a search bar on top so that it updates dynamically, just like this Select2 widget. Something like this, at least:
0e85ad0d70bd42a4b868530a4ef992fa.JPG
Tell me, please, suitable analogues? Or is it possible to make select2 open all the time so that it looks like a listbox?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
krypt3r, 2016-12-07
@krypt3r

Yuzayu such Multiple Select . See the docks section "The Keep Open"

P
profesor08, 2017-04-08
@lemonlimelike

1. Choosing a flash player is bad. Flash is disabled by default in modern browsers, which means the player will not work.
2. It's easier to use an iframe, insert a link and everything works:

<iframe width="800" height="450" src="https://www.youtube.com/embed/Jl4oXmjD-Xo" frameborder="0" allowfullscreen></iframe>
<iframe width="800" height="450" src="https://rutube.ru/embed/10259312" frameborder="0" allowfullscreen></iframe>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question