This commit is contained in:
2019-03-22 21:47:08 +00:00
parent 64fe3fbbbf
commit 7a34c0b8c5
2 changed files with 3 additions and 30 deletions

View File

@@ -14,14 +14,13 @@ TODO CLIENT STUFF
TODO NEXT
RETEST all validation now that the rules have been updated to the new format
Also, is there anything pulled into the validate code directly that is already available off the "v" variable?
- localization etc
GZ VALIDATE
- Add rule isNumeric
- Right now "count" is using the required rule which works but you can type anything in there including letters and shit
- Is there anything pulled into the validate code directly that is already available off the "v" variable?
- localization etc
DATETIME

View File

@@ -108,32 +108,6 @@ export default {
Max255(v, ref) {
return this.MaxLength(v, ref, 255);
},
// ///////////////////////////////
// // AFTER
// After(startDate, endDate) {
// if (_.isEmpty(startDate)) {
// return false;
// }
// if (_.isEmpty(endDate)) {
// return false;
// }
// startDate = dayjs(startDate);
// endDate = dayjs(endDate);
// // if either is not valid.
// if (!startDate || !endDate) {
// return false;
// }
// if (startDate.isAfter(endDate)) {
// // "ErrorStartDateAfterEndDate": "Start date must be earlier than stop / end date",
// var err = locale.get("ErrorStartDateAfterEndDate");
// return err;
// } else {
// return false;
// }
// },
///////////////////////////////
// AFTER
After(v, refStart, refEnd) {