-
Notifications
You must be signed in to change notification settings - Fork 174
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
Use pattern attribute for date fields #845
Comments
GitMate.io thinks possibly related issues are #687 (Date fields are not localized), #795 (Birthday, Date of Death, Anniversary fields are date-time fields, but should only be date fields), #278 (The date fields are not working), #302 (Missing Fields), and #216 (How-to use the Social network, Instant messaging Field?). |
Hello! :) |
@skjnldsv it's still Nextcloud 13 and yes I know it's definitely time to upgrade 😬 Do you know if this also occurs with the latest version of Nextcloud? |
@yannickoo You need to upgrade to at least 15 and contacts 3.0.0, I cannot help you on older versions :) Please reopen after your upgrade if this is still occuring! 😉 |
Is your feature request related to a problem? Please describe.
When trying to enter dates in a format like
dd.mm.yyyy
you get no error or hint regarding the format. The correct format would beyyyy-mm-dd
.Describe the solution you'd like
It would be so cool to have the
pattern
attribute implemented for that field so that we can define a regex for those fields.<input type="text" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])">
You can verify that pattern here in the second example: http://html5pattern.com/Dates
The text was updated successfully, but these errors were encountered: