diff --git a/js/components/multi_checkbox_input.js b/js/components/multi_checkbox_input.js index 9f821707..da81f31c 100644 --- a/js/components/multi_checkbox_input.js +++ b/js/components/multi_checkbox_input.js @@ -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', {