This repository was archived by the owner on Oct 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Splitting on Paste only supports first token #1566
Labels
Comments
For example,
|
Can you submit a PR for this (with relevant tests)? (Assuming you weren't going to already 😄) |
Is the ES6 |
torstenrudolf
added a commit
to itslowvoice/ui-select
that referenced
this issue
Apr 24, 2016
use first taggingToken contained in paste data for splitting (previously only first token was used) Closes angular-ui#1566
torstenrudolf
added a commit
to itslowvoice/ui-select
that referenced
this issue
Apr 25, 2016
use first taggingToken contained in paste data for splitting (previously only first token was used) Closes angular-ui#1566
torstenrudolf
added a commit
to itslowvoice/ui-select
that referenced
this issue
Apr 25, 2016
use first taggingToken contained in paste data for splitting (previously only first token was used) Closes angular-ui#1566
fcaballero
pushed a commit
to fcaballero/ui-select
that referenced
this issue
Apr 25, 2016
use first taggingToken contained in paste data for splitting (previously only first token was used) Closes angular-ui#1566
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug description:
Splitting on pasted data only supports splitting on the first token.
Link to minimally-working plunker that reproduces the issue:
[literally any working tagging ui-select instance - see select.js ln 826]
UI-Select: 0.16.1
This isn't a bug in that the code is doing something unexpected, so much as it is unexpected that the code would be written this way. An improvement would be to iterate over splitting tokens and split on the first token that exists in the string.
The text was updated successfully, but these errors were encountered: