Make fields optional
parent
cab6c07047
commit
a4a2a4c959
|
@ -3,7 +3,7 @@
|
||||||
"contentType": "question",
|
"contentType": "question",
|
||||||
"majorVersion": 1,
|
"majorVersion": 1,
|
||||||
"minorVersion": 0,
|
"minorVersion": 0,
|
||||||
"patchVersion": 13,
|
"patchVersion": 14,
|
||||||
"runnable": 1,
|
"runnable": 1,
|
||||||
"machineName": "H5P.QuestionSet",
|
"machineName": "H5P.QuestionSet",
|
||||||
"author": "Amendor AS",
|
"author": "Amendor AS",
|
||||||
|
|
|
@ -141,6 +141,7 @@
|
||||||
"label": "Quiz passed title",
|
"label": "Quiz passed title",
|
||||||
"placeholder": "Congratulations!",
|
"placeholder": "Congratulations!",
|
||||||
"default": "Congratulations!",
|
"default": "Congratulations!",
|
||||||
|
"optional": true,
|
||||||
"description": "This title will be displayed above results if the user has successfully passed the quiz."
|
"description": "This title will be displayed above results if the user has successfully passed the quiz."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -149,6 +150,7 @@
|
||||||
"widget": "textarea",
|
"widget": "textarea",
|
||||||
"label": "Passed comment",
|
"label": "Passed comment",
|
||||||
"default": "You did very well!",
|
"default": "You did very well!",
|
||||||
|
"optional": true,
|
||||||
"description": "This comment will be displayed after the score if the user has successfully passed the quiz."
|
"description": "This comment will be displayed after the score if the user has successfully passed the quiz."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -156,6 +158,7 @@
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "Quiz failed title",
|
"label": "Quiz failed title",
|
||||||
"default": "Oh, no!",
|
"default": "Oh, no!",
|
||||||
|
"optional": true,
|
||||||
"description": "This title will be displayed above the results if the user has failed the quiz."
|
"description": "This title will be displayed above the results if the user has failed the quiz."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -164,6 +167,7 @@
|
||||||
"widget": "textarea",
|
"widget": "textarea",
|
||||||
"label": "Failed comment",
|
"label": "Failed comment",
|
||||||
"default": "This didn't go so well.",
|
"default": "This didn't go so well.",
|
||||||
|
"optional": true,
|
||||||
"description": "This comment will be displayed after the score if the user has failed the quiz."
|
"description": "This comment will be displayed after the score if the user has failed the quiz."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue