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
Hello!
I want to have single-option selectize with ability to clear selected element. It seems remove_button plugin must be fine for it, but in the start of plugin there are next line:
if (this.settings.mode === 'single') return;
If I comment this line, plugin still not working with maxItems 1, only settings mode multi are supported, so I added
lines in selectize initialization settings and now everything works well.
Which troubles I can get with this code, should mode option be undocumented in usage.md and is this is are the best way to make remove_button plugin work together with maxItems 1?
The text was updated successfully, but these errors were encountered:
Hello!
I want to have single-option selectize with ability to clear selected element. It seems remove_button plugin must be fine for it, but in the start of plugin there are next line:
If I comment this line, plugin still not working with maxItems 1, only settings mode multi are supported, so I added
lines in selectize initialization settings and now everything works well.
Which troubles I can get with this code, should mode option be undocumented in usage.md and is this is are the best way to make remove_button plugin work together with maxItems 1?
The text was updated successfully, but these errors were encountered: