This commit is contained in:
@@ -14,14 +14,13 @@ TODO CLIENT STUFF
|
|||||||
|
|
||||||
TODO NEXT
|
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
|
GZ VALIDATE
|
||||||
- Add rule isNumeric
|
- Add rule isNumeric
|
||||||
- Right now "count" is using the required rule which works but you can type anything in there including letters and shit
|
- 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
|
DATETIME
|
||||||
|
|||||||
@@ -108,32 +108,6 @@ export default {
|
|||||||
Max255(v, ref) {
|
Max255(v, ref) {
|
||||||
return this.MaxLength(v, ref, 255);
|
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
|
||||||
After(v, refStart, refEnd) {
|
After(v, refStart, refEnd) {
|
||||||
|
|||||||
Reference in New Issue
Block a user