Skip to content

Commit

Permalink
New: Provide default instruction text (fixes adaptlearning#167) (adap…
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-steele authored Dec 16, 2022
1 parent 84605bd commit 181afa8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"title": "Slider type component",
"displayTitle": "Slider type component",
"body": "Question text here",
"instruction": "",
"instruction": "Drag the slider to make your choice and select Submit.",
"_attempts": 1,
"_shouldDisplayAttempts": false,
"_questionWeight": 1,
Expand Down
2 changes: 1 addition & 1 deletion properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"instruction": {
"type": "string",
"required": false,
"default": "",
"default": "Drag the slider to make your choice and select Submit.",
"inputType": "Text",
"validators": [],
"help": "This is the instruction text",
Expand Down
2 changes: 1 addition & 1 deletion schema/component.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"instruction": {
"type": "string",
"title": "Instruction",
"default": "",
"default": "Drag the slider to make your choice and select Submit.",
"_adapt": {
"translatable": true
}
Expand Down

0 comments on commit 181afa8

Please sign in to comment.