-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CustomValidators.date does not work correctly in Safari. #11
Comments
As I have not a Mac, I won't be able to close this issue. |
Unfortunately I do not have it either. |
That could be an issue specific to iOS. I’ll check with Stackblitz in a Apple Store... |
Released with 6.0.4, can you confirm the fix? |
I had to change some components to work together. |
The fix has been released with 6.0.5. FYI, "2018-8-20" is not a valid date but "2018-08-20" is. That was the mistake |
Validation works correctly in Chrome, Firefox, Opera, IE, Edge.
However, any valid date is indicated as "invalid" in Safari.
"@angular/core": "^6.0.0",
"ngx-custom-validators": "^6.0.0"
Form Group:
initialDate: [this.item.initialDate, [CustomValidators.date]]
The text was updated successfully, but these errors were encountered: