This commit is contained in:
@@ -808,11 +808,6 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
//might be an indexed item
|
||||
//this is what we're dealing with
|
||||
// { "code": "2200", "details": [ { "message": "LT:PurchaseOrderReceiptItemQuantityReceivedErrorInvalid", "target": "Items[0].QuantityReceived", "error": "2203" } ], "message": "ErrorAPI2200" }
|
||||
//let rowErrorTargetStart = `${collectionName}[${rowIndex}].`.toLowerCase();
|
||||
|
||||
//# REMOVE SERVER ERRORS FOR THIS FIELD REF
|
||||
let targetRef = ref.toLowerCase();
|
||||
|
||||
@@ -877,19 +872,10 @@ export default {
|
||||
//---------------
|
||||
}); //next tick end
|
||||
},
|
||||
////////////////////////////////////
|
||||
// set calling form Valid state
|
||||
//
|
||||
// {vm:vm,dirty:bool | undefined,
|
||||
// valid:bool | undefined,
|
||||
// loading:bool | undefined}
|
||||
//
|
||||
|
||||
setFormState(newState) {
|
||||
//this returns a promise so any function that needs to wait for this can utilize that
|
||||
// if (newState.valid != null && newState.valid == false) {
|
||||
// console.trace(newState);
|
||||
// // debugger;
|
||||
// }
|
||||
|
||||
return Vue.nextTick(function() {
|
||||
if (newState.valid != null) {
|
||||
newState.vm.formState.valid = newState.valid;
|
||||
|
||||
Reference in New Issue
Block a user