input emit, wymuszeni doswiezenia pola bo usuwa z globalnej zmiennej
This commit is contained in:
@@ -40,6 +40,7 @@ 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 {
|
||||
|
||||
@@ -78,6 +78,8 @@ export default {
|
||||
this.align = (this.value && this.value.align) ? this.value.align : this.align;
|
||||
if (this.value.open) this.modalBox = true;
|
||||
console.log('pagebuilder', this.$pagebuilder);
|
||||
this.$emit('input',this.value);
|
||||
|
||||
},
|
||||
methods: {
|
||||
removeItem: function () {
|
||||
|
||||
@@ -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