Merge pull request #1362 from mehmetcoban/master

Add select model assign
This commit is contained in:
Mehmet Çoban 2020-03-17 17:20:15 +03:00 committed by GitHub
commit a01cd25fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,6 +543,10 @@ export default {
mounted() {
this.real_model = this.value;
if (this.model.length) {
this.real_model = this.model;
}
if (this.multiple && !this.real_model.length) {
this.real_model = [];
}