Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Splitting on Paste only supports first token #1566

Closed
@logannc

Description

@logannc

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions