Skip to content

Commit

Permalink
Fix initial value setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Nov 5, 2019
1 parent d6d1391 commit 093e6ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/multiselect-field.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default {
this.value = [];
}
} else {
this.value = this.field.value;
this.value = this.field.options.find(opt => String(opt.value) === String(this.field.value));
}
},
Expand Down

0 comments on commit 093e6ab

Please sign in to comment.