This commit is contained in:
2020-06-24 19:01:08 +00:00
parent cfe883e53f
commit c498567943
2 changed files with 32 additions and 6 deletions

View File

@@ -168,6 +168,17 @@ 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
//