schema extensions

This commit is contained in:
2022-01-14 11:51:38 +01:00
parent 0f3fe4362a
commit 110d4e6a3d
16 changed files with 200 additions and 138 deletions
@@ -127,8 +127,6 @@
width: this.width,
});
console.info('nested result: ', result);
if (result.eventType == 'confirm')
{
if (isAdd)
@@ -141,6 +139,8 @@
this.removeItem(index);
this.items.splice(index, 0, result.value);
}
this.onChange();
}
},
@@ -154,7 +154,9 @@
onChange()
{
this.$emit('input', this.multiple ? this.items : (this.items.length > 0 ? this.items[0] : null));
let value = this.multiple ? this.items : (this.items.length > 0 ? this.items[0] : null)
this.$emit('input', value);
this.$emit('update:value', value);
},