Skip to content

Commit 11b6156

Browse files
committed
docs: CoCreate-hosting package to publish docs
1 parent 6448a5b commit 11b6156

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CoCreate.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
},
88

99
"sources": [{
10-
"path": "./docs/index.html",
10+
"entry": "./docs/index.html",
1111
"collection": "files",
1212
"document_id": "6019b2844eea0817df303b06",
1313
"key": "src",

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,8 @@ attributes.prototype.setInputValue = function setInputValue(input, value) {
475475
})
476476
break;
477477
case 'cocreate-select':
478-
renderOptions(input, value)
478+
479+
renderOptions(input, Array.isArray(value) ? value: [value])
479480
break;
480481
case 'pickr':
481482
// todo: how to perform validation

0 commit comments

Comments
 (0)