This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user