Chosen's library supports an option `max_shown_results` which limits the number of results shown. This is quite critical (IMO) for performance when there are a lot of options.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3065967-10.patch | 3.56 KB | idebr |
| #10 | interdiff-6-10.txt | 4.25 KB | idebr |
Comments
Comment #2
jerrylow commentedAdding patch for this.
Comment #3
nagy.balint commentedHi!
Thanks for the patch!
The schema and default value definitions are missing however from the patch. Look at the "config" folder of the module.
Comment #4
idebr commentedAttached patch implements the following changes:
Comment #5
idebr commentedComment #6
idebr commentedFixed the FunctionalJavascript test namespace.
Comment #8
nagy.balint commentedSeems the patch fails on the line
$this->cssSelect('.chosen-search-input')[0]->focus();
Comment #9
idebr commentedYes, I forgot the Drupal testbot does not actually have to Chosen library so it's pretty moot to put in any kind of testing related the Chosen itself.
Comment #10
idebr commentedAttached patch implements the following changes:
max_shown_resultsin the install config.Comment #12
nagy.balint commentedThanks!