You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When copy+pasting text into a p-chips component while having the separator input set, the text is immediately added as an item. This is bad because I cannot edit the pasted text before adding it as an item (for example when I copied a letter too much).
Environment
See versions below
Reproducer
No response
Angular version
17.0.6
PrimeNG version
17.2.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
No response
Steps to reproduce the behavior
Add a p-chips component with separator set to any regex
Copy some text
Paste it into the p-chips input
The copied text is immediately added as an item
Expected behavior
The text should be pasted into the input field. I can still make changes to it, and once I press Enter (or enter a character matching the separator), my input is added as an item.
The text was updated successfully, but these errors were encountered:
So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?
Thanks a lot for your understanding!
Best Regards,
Describe the bug
When copy+pasting text into a
p-chips
component while having theseparator
input set, the text is immediately added as an item. This is bad because I cannot edit the pasted text before adding it as an item (for example when I copied a letter too much).Environment
See versions below
Reproducer
No response
Angular version
17.0.6
PrimeNG version
17.2.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
No response
Steps to reproduce the behavior
p-chips
component withseparator
set to any regexp-chips
inputExpected behavior
The text should be pasted into the input field. I can still make changes to it, and once I press
Enter
(or enter a character matching theseparator
), my input is added as an item.The text was updated successfully, but these errors were encountered: