Skip to content

Commit 18022f1

Browse files
Merge pull request #52 from adaptlearning/issue/#854
Updated schema to actually have the inputType
2 parents fa77bca + 5bf22c0 commit 18022f1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adapt-contrib-tutor",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"framework": "^2.0.0",
55
"homepage": "https://github.com/adaptlearning/adapt-contrib-tutor",
66
"issues": "https://adaptlearning.atlassian.net/secure/CreateIssueDetails!init.jspa?pid=10100&issuetype=1&priority=6&components=10521",

properties.schema

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,21 @@
1212
"type":"object",
1313
"properties":{
1414
"_tutor": {
15+
"legend" : "Tutor",
1516
"type":"object",
1617
"required":false,
1718
"properties": {
1819
"_isEnabled": {
1920
"type":"boolean",
2021
"required":true,
21-
"title": "Enabled"
22+
"title": "Enabled",
23+
"inputType" : {
24+
"type" : "Boolean",
25+
"options" : [
26+
true,
27+
false
28+
]
29+
}
2230
}
2331
}
2432
}

0 commit comments

Comments
 (0)