|
@@ -216,6 +216,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
selectedCategoryInfoType () {
|
|
selectedCategoryInfoType () {
|
|
|
|
|
+ FormBuilderAssist.setAttributeByName(this.inputs, 'category', 'value', null)
|
|
|
this.loadCategories()
|
|
this.loadCategories()
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -272,7 +273,9 @@ export default {
|
|
|
this.ticket = new Ticket(data)
|
|
this.ticket = new Ticket(data)
|
|
|
},
|
|
},
|
|
|
afterLoadInputData () {
|
|
afterLoadInputData () {
|
|
|
- FormBuilderAssist.setAttributeByName(this.inputs, 'category', 'value', this.ticket.category)
|
|
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ FormBuilderAssist.setAttributeByName(this.inputs, 'category', 'value', this.ticket.category)
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
edit() {
|
|
edit() {
|
|
|
this.entityLoading = true
|
|
this.entityLoading = true
|