input emit, wymuszeni doswiezenia pola bo usuwa z globalnej zmiennej
This commit is contained in:
@@ -43,6 +43,8 @@ export default {
|
||||
this.name = (this.value && this.value.name) ? this.value.name : this.name;
|
||||
this.text = (this.value && this.value.text) ? this.value.text : this.text;
|
||||
if (this.value.open) this.modalBox = true;
|
||||
this.$emit('input',this.value);
|
||||
|
||||
},
|
||||
data: function () {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user