fix: question field uses real placeholder instead of template. fixed blank question handling. TNL-10395, TNL-10411.
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
/* eslint-disable */
|
||||
export const dropdown = `<problem>
|
||||
<optionresponse>
|
||||
<p>Enter your question</p>
|
||||
<optioninput>
|
||||
<option correct="True"></option>
|
||||
<option correct="False"></option>
|
||||
<option correct="False"></option>
|
||||
</optioninput>
|
||||
</optionresponse>
|
||||
<optionresponse>
|
||||
<optioninput>
|
||||
<option correct="True"></option>
|
||||
<option correct="False"></option>
|
||||
<option correct="False"></option>
|
||||
</optioninput>
|
||||
</optionresponse>
|
||||
</problem>`
|
||||
|
||||
export default dropdown;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/* eslint-disable */
|
||||
const multiSelect= `<problem>
|
||||
<choiceresponse>
|
||||
<p>Enter your question</p>
|
||||
<checkboxgroup>
|
||||
<choice correct="true"></choice>
|
||||
<choice correct="false"></choice>
|
||||
<choice correct="false"></choice>
|
||||
</checkboxgroup>
|
||||
</choiceresponse>
|
||||
<choiceresponse>
|
||||
<checkboxgroup>
|
||||
<choice correct="true"></choice>
|
||||
<choice correct="false"></choice>
|
||||
<choice correct="false"></choice>
|
||||
</checkboxgroup>
|
||||
</choiceresponse>
|
||||
</problem>`
|
||||
|
||||
export default multiSelect;
|
||||
@@ -1,10 +1,9 @@
|
||||
/* eslint-disable */
|
||||
export const numeric = `<problem>
|
||||
<numericalresponse>
|
||||
<p>Enter your question</p>
|
||||
<responseparam type="tolerance" default="5"/>
|
||||
<formulaequationinput/>
|
||||
</numericalresponse>
|
||||
<numericalresponse>
|
||||
<responseparam type="tolerance" default="5"/>
|
||||
<formulaequationinput/>
|
||||
</numericalresponse>
|
||||
</problem>`
|
||||
|
||||
export default numeric;
|
||||
@@ -1,12 +1,12 @@
|
||||
/* eslint-disable */
|
||||
export const singleSelect = `<problem>
|
||||
<multiplechoiceresponse>
|
||||
<p>Enter your question</p>
|
||||
<multiplechoiceresponse>
|
||||
<choicegroup>
|
||||
<choice correct="true"></choice>
|
||||
<choice correct="false"></choice>
|
||||
<choice correct="false"></choice>
|
||||
<choice correct="true"></choice>
|
||||
<choice correct="false"></choice>
|
||||
<choice correct="false"></choice>
|
||||
</choicegroup>
|
||||
</multiplechoiceresponse>
|
||||
</multiplechoiceresponse>
|
||||
</problem>`
|
||||
|
||||
export default singleSelect;
|
||||
@@ -1,9 +1,9 @@
|
||||
/* eslint-disable */
|
||||
const textInput =`<problem>
|
||||
<stringresponse type="ci">
|
||||
<p>Enter your question</p>
|
||||
<additional_answer />
|
||||
<textline size="20"/>
|
||||
</stringresponse>
|
||||
<stringresponse type="ci">
|
||||
<additional_answer />
|
||||
<textline size="20"/>
|
||||
</stringresponse>
|
||||
</problem>`
|
||||
|
||||
export default textInput;
|
||||
Reference in New Issue
Block a user