This commit is contained in:
@@ -143,7 +143,9 @@ export default {
|
||||
if (vm.formState.loading) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// if (ref == "Items.PartId") {
|
||||
// debugger;
|
||||
// }
|
||||
let ctrl = getControl(vm, ref);
|
||||
if (typeof ctrl == "undefined") {
|
||||
// console.log("gzform:required rule - bailing due to undefined", ref);
|
||||
@@ -169,17 +171,7 @@ export default {
|
||||
});
|
||||
return err;
|
||||
},
|
||||
// ///////////////////////////////
|
||||
// // REQUIRED STANDALONE
|
||||
// // (used in translation form)
|
||||
// requiredStandAlone(value, fieldName) {
|
||||
// return (
|
||||
// !!value ||
|
||||
// window.$gz.translation
|
||||
// .get("ErrorRequiredFieldEmpty")
|
||||
// .replace(/\{0\}/g, fieldName)
|
||||
// );
|
||||
// },
|
||||
|
||||
///////////////////////////////
|
||||
// MAXLENGTH
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user