Skip to content

Commit

Permalink
Fix: Default instruction text added to schema (fixes #128)
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-allen-89 authored Jun 16, 2023
1 parent 50baa59 commit 5a211b1
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": "Hotgrid",
"displayTitle": "Hotgrid",
"body": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.",
"instruction": "Select the images to reveal the text.",
"instruction": "Select the images to find out more.",
"_comment": "setCompletionOn = inview | allItems",
"_setCompletionOn": "allItems",
"_canCycleThroughPagination": false,
Expand Down
2 changes: 1 addition & 1 deletion properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"instruction": {
"type": "string",
"required": false,
"default": "",
"default": "Select the images to find out more.",
"inputType": "Text",
"validators": [],
"translatable": true
Expand Down
2 changes: 1 addition & 1 deletion schema/component.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"instruction": {
"type": "string",
"title": "Instruction",
"default": "",
"default": "Select the images to find out more.",
"_adapt": {
"translatable": true
}
Expand Down

0 comments on commit 5a211b1

Please sign in to comment.