We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5a659f commit fd3c058Copy full SHA for fd3c058
1 file changed
packages/core/src/lib/validators/built-in-validators/dateTypeValidator.ts
@@ -39,6 +39,8 @@ export class DateTypeValidator extends InputValidator {
39
}
40
41
public validateData(value: string, args?: DateInputArgs) {
42
+ if (isUndefined(value)) return;
43
+
44
let valid = dayjs(value).isValid();
45
// if there are args passed
46
if (!isUndefined(args)) {
0 commit comments