Skip to content

Commit

Permalink
Fix: Amend to default schema value for _setCompletedWhenFailed (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
danielghost committed Dec 13, 2022
1 parent d8fca56 commit cf29cb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
"_setCompletedWhenFailed": {
"type": "boolean",
"required": false,
"default": false,
"default": true,
"title": "Completed when failed",
"inputType": "Checkbox",
"validators": [],
Expand Down
6 changes: 6 additions & 0 deletions schema/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@
""
],
"_backboneForms": "Select"
},
"_setCompletedWhenFailed": {
"type": "boolean",
"title": "Completed when failed",
"description": "If enabled, `cmi.completion_status` will be set to \"completed\" if the assessment is \"failed\". Only valid for SCORM 2004, where the logic for completion and success is separate.",
"default": true
}
}
},
Expand Down

0 comments on commit cf29cb1

Please sign in to comment.