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

[jQuery] Multi-Select Dropdown (Tag Box): Default values are not displayed, and Tag Box becomes unresponsive #7362

Closed
JaneSjs opened this issue Nov 16, 2023 · 0 comments · Fixed by #7381
Assignees
Labels
bug tagbox user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Nov 16, 2023

User Issue: T15578 - tagbox default values
https://surveyjs.answerdesk.io/internal/ticket/details/T15578


If you set the defaultValue for a TagBox question in jQuery, the following issues occur.

  • Default values are not displayed;
  • It is impossible to select any options in a TagBox.
{
  "elements": [
    {
      "type": "tagbox",
      "isRequired": true,
      "choicesByUrl": {
        "url": "https://surveyjs.io/api/CountriesExample"
      },
      "name": "countries",
      "defaultValue": ["Albania","Benin"],
      "title": "Which countries have you visited within the last three years?",
      "description": "Please select all that apply."
    }
  ],
  "showQuestionNumbers": false
};

View Demo

2023-11-16_11-23-52.mp4

This survey works in React (View Demo).

2023-11-16_11-24-46.mp4
@JaneSjs JaneSjs added bug tagbox user issue An issue or bug reported by users labels Nov 16, 2023
@JaneSjs JaneSjs added this to the v1.9.118 milestone Nov 16, 2023
OlgaLarina pushed a commit that referenced this issue Nov 17, 2023
OlgaLarina pushed a commit that referenced this issue Nov 19, 2023
@OlgaLarina OlgaLarina linked a pull request Nov 19, 2023 that will close this issue
OlgaLarina pushed a commit that referenced this issue Nov 19, 2023
OlgaLarina pushed a commit that referenced this issue Nov 20, 2023
@OlgaLarina OlgaLarina linked a pull request Nov 20, 2023 that will close this issue
OlgaLarina pushed a commit that referenced this issue Nov 20, 2023
tsv2013 pushed a commit that referenced this issue Nov 20, 2023
* work for #7362 TagBox - Default values are not displayed and Tag Box becomes unresponsive

* work for #7362 [jQuery] TagBox - Default values are not displayed and Tag Box becomes unresponsive

* work for #7362 fix vue

---------

Co-authored-by: OlgaLarina <[email protected]>
@RomanTsukanov RomanTsukanov changed the title [jQuery] TagBox - Default values are not displayed and Tag Box becomes unresponsive [jQuery] Multi-Select Dropdown (Tag Box): Default values are not displayed, and Tag Box becomes unresponsive Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tagbox user issue An issue or bug reported by users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants