Display checked boxes after saving draft
This commit is contained in:
parent
b1ee67a804
commit
c5007d9edb
@ -34,6 +34,14 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
mounted: function () {
|
||||
for (let child of this.$el.firstChild.lastElementChild.children) {
|
||||
if (this.initialValue.includes(child.firstChild.value)) {
|
||||
child.firstChild.checked = true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
onInput: function (e) {
|
||||
this.$root.$emit('field-change', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user