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

In-place choice editor allows users to create more choice options than the specified limit #6617

Closed
JaneSjs opened this issue Feb 20, 2025 · 0 comments · Fixed by #6638
Closed
Assignees
Labels
bug user issue An issue or bug reported by users.

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Feb 20, 2025

T21964 - tagbox and dropdown questions exceed maximum choices when pasting multiple lines
https://surveyjs.answerdesk.io/internal/ticket/details/T21964


To reproduce the issue, run this demo. Add a Tagbox/Dropdown question, activate the inplace editor for the first choice and insert the following items:

new item 1
new item 2
new item 3

Regardless of the creator.maximumChoicesCount limit, it is possible to insert more than the specified number of items.

2025-02-20_11-53-30.mp4
@JaneSjs JaneSjs added bug user issue An issue or bug reported by users. labels Feb 20, 2025
tsv2013 pushed a commit that referenced this issue Feb 24, 2025
…ied number of items (`creator.maximumChoicesCount`)

Fixes #6617
tsv2013 pushed a commit that referenced this issue Feb 25, 2025
…ied number of items (`creator.maximumChoicesCount`)

Fixes #6617
tsv2013 added a commit that referenced this issue Feb 25, 2025
…ied number of items (`creator.maximumChoicesCount`) (#6638)

* Choice Inplace Editor allows a batch creating of more than the specified number of items (`creator.maximumChoicesCount`)
Fixes #6617

* Update string-editor.ts

* Update string-editor.ts

* Choice Inplace Editor allows a batch creating of more than the specified number of items (`creator.maximumChoicesCount`)
Fixes #6617

---------

Co-authored-by: tsv2013 <[email protected]>
@RomanTsukanov RomanTsukanov changed the title Choice Inplace Editor allows a batch creating of more than the specified number of items (creator.maximumChoicesCount) In-place choice editor allows users to create more choice options than the specified limit Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users.
Projects
None yet
2 participants