Needs review
Project:
Selectize.js
Version:
8.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2019 at 15:03 UTC
Updated:
13 Aug 2020 at 12:58 UTC
Jump to comment: Most recent
Comments
Comment #2
mlncn commentedThere is an option, literally called 'closeAfterSelect', and it's documented at https://github.com/selectize/selectize.js/blob/master/docs/usage.md#general
In Drupal code that looks simply like this:
We probably don't want to document every Selectize option, but we should at least add a page for where to look for them and how to add them like this in the Drupal context.
I think a maintainer has to add a stub documentation page before others can edit.
Comment #3
mlncn commentedSelectized dropdowns should also close if they are clicked or pressed without selecting anything, and that is an open bug with Selectize.js, with some brittle workarounds given in comments:
https://github.com/selectize/selectize.js/issues/1261
https://github.com/selectize/selectize.js/issues/1377