Skip to content

Commit

Permalink
Fix: Add all custom categories as valid _type values (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck authored Sep 30, 2024
1 parent 8a35c1a commit 409f8a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
"type": "string",
"required": true,
"title": "Type",
"inputType": { "type": "Select", "options": ["document", "media", "link"]},
"inputType": { "type": "Select", "options": ["document", "media", "link", "custom1", "custom2", "custom3", "custom4", "custom5", "custom6", "custom7", "custom8", "custom9", "custom10"]},
"validators": ["required"]
},
"_forceDownload": {
Expand Down
12 changes: 11 additions & 1 deletion schema/course.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,17 @@
"enum": [
"document",
"media",
"link"
"link",
"custom1",
"custom2",
"custom3",
"custom4",
"custom5",
"custom6",
"custom7",
"custom8",
"custom9",
"custom10"
],
"_backboneForms": "Select"
},
Expand Down

0 comments on commit 409f8a0

Please sign in to comment.