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

Create Specialized Question Types - Add an example on how to Copy a Base Question and customize its settings #7172

Closed
JaneSjs opened this issue Oct 17, 2023 · 4 comments
Assignees
Labels
documentation enhancement user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Oct 17, 2023


We need to update the Create Specialized Question Types help topic and clearly highlight the following usage scenario: 'Create one more component which will look the same as a standard question (e.g., Rating, Dropdown), but with some customized properties.

An example:

creator.toolbox.addItem({
    name: "csat",
    title: "CSAT",
    iconName: "icon-rating",
    isCopied: true,
    id: "csatQuestion",
    category: "General",
    json: {
      type: "rating",
      title: "How satisfied are you with your in-store experience today?",
      rateType: "stars"
    }
});

View Demo

BTW: in docs, there is no addItem function.
addCopiedItem

@JaneSjs
Copy link
Contributor Author

JaneSjs commented Nov 1, 2023

+1 T15350 - Choices tab on a custom question
https://surveyjs.answerdesk.io/internal/ticket/details/T15350

@JaneSjs
Copy link
Contributor Author

JaneSjs commented Nov 21, 2023

+1 surveyjs/survey-creator#4661

@RomanTsukanov
Copy link
Contributor

Waiting for #7661

@RomanTsukanov
Copy link
Contributor

Fixed in #7727

@OlgaLarina OlgaLarina added this to the v1.9.128 milestone Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation enhancement user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

3 participants