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
Are you requesting a feature, reporting a bug or ask a question?
Asking a question
What is the current behavior?
Hi! I would like to check if this is doable, I'm trying to create a new question type which is enps. In our use-case, the enps behaves the same as Rating scale question but there can only be one instance of enps question and the user should be able to select that question from "Add question" selection dropdown. I tried to create a custom widget and inherit the rating scale model and use the React UI. However, the display is different.
What is the expected behavior?
Expecting to see the same UI as rating scale question.
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Hello @kmhigashioka,
If you wish to create a copy of a Rating question but with some customized settings like name and title, you can use the creator.toolbox.addItem function. Consider this code:
creator.toolbox.addItem({
name: "nps",
title: "NPS",
iconName: "icon-rating",
isCopied: true,
id: "npsQuestion",
category: "General",
json: {
type: "rating",
title: "How satisfied are you with your in-store experience today?",
rateType: "stars"
}
});
Are you requesting a feature, reporting a bug or ask a question?
Asking a question
What is the current behavior?
Hi! I would like to check if this is doable, I'm trying to create a new question type which is enps. In our use-case, the enps behaves the same as Rating scale question but there can only be one instance of enps question and the user should be able to select that question from "Add question" selection dropdown. I tried to create a custom widget and inherit the rating scale model and use the React UI. However, the display is different.
What is the expected behavior?
Expecting to see the same UI as rating scale question.
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL: https://codesandbox.io/s/flamboyant-sun-jj8ctr?file=/src/SurveyCreatorComponent.jsx
Test code
Specify your
The text was updated successfully, but these errors were encountered: