This commit is contained in:
@@ -762,7 +762,7 @@ export default {
|
||||
this.value.items.push({
|
||||
id: 0,
|
||||
concurrency: 0,
|
||||
notes: null,
|
||||
notes: undefined, //to trigger validation on new
|
||||
wiki: null,
|
||||
customFields: "{}",
|
||||
tags: [],
|
||||
@@ -790,7 +790,10 @@ export default {
|
||||
this.selectedRow = [{ index: newIndex }];
|
||||
this.activeItemIndex = newIndex;
|
||||
//trigger rule breaking / validation
|
||||
this.fieldValueChanged(`items[${this.activeItemIndex}].notes`);
|
||||
this.$nextTick(() => {
|
||||
this.value.items[this.activeItemIndex].notes = null;
|
||||
this.fieldValueChanged(`items[${this.activeItemIndex}].notes`);
|
||||
});
|
||||
},
|
||||
unDeleteItem() {
|
||||
this.value.items[this.activeItemIndex].deleted = false;
|
||||
|
||||
Reference in New Issue
Block a user