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
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
when using the tagging feature paste is not working if tagging-label="false" and tagging-tokens are set. see this plunker
I believe this is because the paste event calls ctrl.select(item) (see uiSelectController.js#L614) for each item after splitting the pasted string. But in uiSelectController.js#L356 in the case of ctrl.taggingLabel === falsectrl.select overrides the passed in item with the current ctrl.search which was set empty in the paste event handler earlier. Therefore the passed in item is lost and note used.
Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
angularjs: 1.5.0
ui-select: 0.18.0
The text was updated successfully, but these errors were encountered:
Bug description:
when using the tagging feature paste is not working if
tagging-label="false"
andtagging-tokens
are set. see this plunkerI believe this is because the paste event calls
ctrl.select(item)
(see uiSelectController.js#L614) for each item after splitting the pasted string. But in uiSelectController.js#L356 in the case ofctrl.taggingLabel === false
ctrl.select
overrides the passed initem
with the currentctrl.search
which was set empty in thepaste
event handler earlier. Therefore the passed initem
is lost and note used.Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
angularjs: 1.5.0
ui-select: 0.18.0
The text was updated successfully, but these errors were encountered: