-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat) O3-3947: Add toggle type questions to interactive builder (#350)
* Refactor : Added toggle rendering type to the interactive builder as well as options for the toggle * Refactor: Add toggle rendering options to interactive builder * Refactor: Added the toggle renderType to the edit-question.modal * Refactor: Update toggle label placeholders in edit-question.modal * Refactor: Update toggle label placeholders and add toggle rendering options - Updated the toggle label placeholders in the edit-question.modal - Added toggle rendering options to the interactive builder - Modified the translations in en.json to include labelFalse, labelPlaceholder, and labelTrue - Added "Off" and "On" translations in en.json * Refactor: Update toggle label placeholders and initialize toggle labels in edit-question.modal * Update src/components/interactive-builder/add-question.modal.tsx * Update src/components/interactive-builder/add-question.modal.tsx * Update src/components/interactive-builder/add-question.modal.tsx * Update src/components/interactive-builder/add-question.modal.tsx * Update translations * Update translations/en.json --------- Co-authored-by: CynthiaKamau <[email protected]> Co-authored-by: Nethmi Rodrigo <[email protected]>
- Loading branch information
1 parent
675bdff
commit 1b91c37
Showing
5 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters