You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The option_limit allows specifying how many items to display in the MultiChoice widget. When setting it > 4, it works when nothing is in the input widget:
However, when any string is used to search item initials, only 4 items will be displayed.
Is it possible to allow option_limit to work when searching from the choices?
The text was updated successfully, but these errors were encountered:
Thanks for pointing out. I was about to post the same issue.
Also without setting option_limit it would be helpful, to be able to scroll through all proposed list items after filtering with search string.
Edit:
This seems to be a standard setting (searchResultLimit:4) from the choices.js that is used for this widget, coming from bokeh; bokeh/bokeh#10525 (comment)
Unfortunately I am a total noob regarding JS, so I couldn´t find out a workaround (for example modify the multichoice.js file in "Lib\site-packages\bokeh\server\static\js\lib\models\widgets\MultiChoice.js" and reset the option. I guess the JS code is compiled at some point, I don´t know).
Edit2:
As a workaround (ugly, I know), I replaced the standard value for "searchResultLimit" in
"\Lib\site-packages\bokeh\server\static\js\bokeh-widgets.min.js" from 4 to the desired value (for example 100) and it worked.
The option_limit allows specifying how many items to display in the MultiChoice widget. When setting it > 4, it works when nothing is in the input widget:
However, when any string is used to search item initials, only 4 items will be displayed.
Is it possible to allow option_limit to work when searching from the choices?
The text was updated successfully, but these errors were encountered: