Skip to content
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

Chips: Separator by new line doesn't work by pasting value #5103

Closed
yendefrr opened this issue Jan 18, 2024 · 0 comments · Fixed by #5098
Closed

Chips: Separator by new line doesn't work by pasting value #5103

yendefrr opened this issue Jan 18, 2024 · 0 comments · Fixed by #5098
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@yendefrr
Copy link
Contributor

yendefrr commented Jan 18, 2024

Describe the bug

When you specify separator "\n" in Chips component, it doesn't work on pasted from clipboard value. Separating by new line is necessary when you pasting data from tables.

Reproducer

https://codesandbox.io/p/devbox/awesome-edison-ydkhxz

PrimeVue version

3.44.0

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Copy values from column in table like Excel or PrimeVue DataTable
  2. Paste in Chips input with separator "\n" specified

Expected behavior

Separate pasted value by new line if separator "\n" is specified

@yendefrr yendefrr added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 18, 2024
@mertsincan mertsincan added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add labels Jan 18, 2024
@mertsincan mertsincan added this to the 3.47.0 milestone Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants