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 #5824

Closed
akshayaqburst opened this issue Jan 23, 2024 · 0 comments · Fixed by #5825
Closed

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

akshayaqburst opened this issue Jan 23, 2024 · 0 comments · Fixed by #5825
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@akshayaqburst
Copy link
Contributor

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

PrimeReact version

10.3.3

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

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

@akshayaqburst akshayaqburst 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 23, 2024
akshayaqburst pushed a commit to qburst/primereact_qb_23 that referenced this issue Jan 23, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 23, 2024
@melloware melloware added this to the 10.4.0 milestone Jan 23, 2024
melloware pushed a commit that referenced this issue Jan 23, 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 defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants