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

nz-select with tokenization does not work correctly with copy/paste #3825

Closed
intuitiveminds opened this issue Jul 19, 2019 · 0 comments · Fixed by #3869
Closed

nz-select with tokenization does not work correctly with copy/paste #3825

intuitiveminds opened this issue Jul 19, 2019 · 0 comments · Fixed by #3869

Comments

@intuitiveminds
Copy link

Reproduction link

https://angular-j25vat.stackblitz.io/

Steps to reproduce

  1. Open the stackblitz link above
  2. Copy and paste the following text into the input field (without the quotes): "a10,b11"

What is expected?

The elements "a10" and "b11" are selected and the user can normally add new entries or delete selected entries using mouse and keyboard

What is actually happening?

The elements "a10" and "b11" are selected, but some remaining parts of the input remain in the field and are sometimes added to the end of the selected chips. As soon as the backspace key is used, the bug becomes even more obvious, because with every keystroke of the backspace key a new entry is added

Environment Info
ng-zorro-antd 8.1.0
Browser Firefox 68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants