Skip to content

Multiple search with fixed selections #1858

Discussion options

You must be logged in to vote

Two options here:

  • Use the callback onLabelRemove and return false when a desired label is tried to be removed
  • Use a custom label renderer template which in addition does not render the remove icon on desired labels

See an example using both options: The preselected label "english" cannot be removed the usual way anymore
https://jsfiddle.net/lubber/bxc2n5yp/12/

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Comment options

You must be logged in to vote
2 replies
@ko2in
Comment options

ko2in Jan 29, 2021
Collaborator

@lubber-de
Comment options

Comment options

You must be logged in to vote
1 reply
@ko2in
Comment options

ko2in Jan 30, 2021
Collaborator

Comment options

You must be logged in to vote
2 replies
@lubber-de
Comment options

@smartm0use
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment