|
@@ -119,7 +119,16 @@ export default Vue.extend({
|
|
|
created() {
|
|
|
this.listItems = this.$props.items || [];
|
|
|
this.value = (this.$attrs.value) as any || [];
|
|
|
- this.cachedSelectedItems = this.value;
|
|
|
+ if (this.remoteUrl) {
|
|
|
+ this.cachedSelectedItems = this.value;
|
|
|
+ this.listItems = this.value;
|
|
|
+
|
|
|
+ const vals: any[] = [];
|
|
|
+ this.value.forEach((val: any) => {
|
|
|
+ vals.push(val.value);
|
|
|
+ this.value = vals as any;
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
mounted() {
|