-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace selectisize tom select #6323
Replace selectisize tom select #6323
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
92bfb90
to
3b08bf7
Compare
new TomSelect("select[id='id_restrict_to_groups']", { | ||
closeAfterSelect: true, | ||
plugins: { | ||
clear_button: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@escattone tom-select
doesn't have an x
for the clear button but rather a checkbox.
See https://tom-select.js.org/plugins/clear-button/
We could override this but unless there are strong objections I would prefer to tackle this in a different PR/issue to avoid scope creep. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's for Bootstrap 4/5. If you select the Default
from the drop down it's the checkbox..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+wc
I've also encountered this issue during testing in |
No description provided.