This commit is contained in:
2021-03-08 15:56:02 +00:00
parent cec0645ccb
commit 876b4794e0
3 changed files with 26 additions and 1 deletions

View File

@@ -716,6 +716,17 @@ export default {
});
},
///////////////////////////////
// childRowErrorClass
// returns class to set on row if error exists for row
// else returns nothing
//
childRowErrorClass(vm, collectionName, rowIndex) {
if (this.childRowHasError(vm, collectionName, rowIndex)) {
return "font-weight-black font-italic error--text";
}
return null;
},
///////////////////////////////
// ShowMe
// (returns false if the field has been set to hidden by the user in the formcustomtemplate)
// NOTE: that in a form this should only be used with non stock-required fields, if they are already required they cannot be hidden