From 3f94db609e1bf69b0c15328a54b8b9d6dbd1a096 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 22 Feb 2021 21:24:02 +0000 Subject: [PATCH] --- ayanova/src/api/gzform.js | 3 +++ ayanova/src/views/inv-purchase-order.vue | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ayanova/src/api/gzform.js b/ayanova/src/api/gzform.js index 4ccd5655..a3037612 100644 --- a/ayanova/src/api/gzform.js +++ b/ayanova/src/api/gzform.js @@ -101,6 +101,9 @@ function getErrorsForField(vm, ref) { //so we need to normalize them all to lower case to match //they will always differ by more than case so this is fine + //NOTE: Indexed child collection error target field names are in this scheme "Items[2].FieldName" + //where Items is the name of the parent models property that contains the child collection + return o.target.toLowerCase() == ref.toLowerCase(); }); } diff --git a/ayanova/src/views/inv-purchase-order.vue b/ayanova/src/views/inv-purchase-order.vue index 7809fd09..975cb324 100644 --- a/ayanova/src/views/inv-purchase-order.vue +++ b/ayanova/src/views/inv-purchase-order.vue @@ -233,6 +233,7 @@ hide-default-footer data-cy="itemsTable" dense + :item-class="rowClasses" >