Skip to content

Tag input should parse and split pasted string #8032

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

Closed
alansemenov opened this issue Nov 7, 2024 · 1 comment · Fixed by #8221
Closed

Tag input should parse and split pasted string #8032

alansemenov opened this issue Nov 7, 2024 · 1 comment · Fixed by #8221
Assignees
Labels
Improvement Suggestion for improvement

Comments

@alansemenov
Copy link
Member

alansemenov commented Nov 7, 2024

When pasting in a string copied from a spreadsheet multiple column values won't get split into several tags but get pasted in as a one big tag. Use commas as separators.

@alansemenov alansemenov added the Improvement Suggestion for improvement label Nov 7, 2024
@alansemenov alansemenov moved this from Backlog to Current Sprint in Customer Experience 2 Jan 14, 2025
@ashklianko ashklianko moved this from Current Sprint to In Progress in Customer Experience 2 Jan 14, 2025
@ashklianko ashklianko linked a pull request Jan 15, 2025 that will close this issue
@ashklianko
Copy link
Member

Implemented solution: pasted text is being split depending on received data.

  • If the text is plain text, then it is being splitted by commas
  • If the text is text/html then, splitting it by \t or new line chars, thus table cells from google docs or from html tables are being treated as separate tags, however if we've got just one element after split, then splitting it with commas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Suggestion for improvement
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants