We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have field called 'end_date' defined in my schema as:
property 'endDate', Date
and under my User model I have the current validation:
User.validatesFormatOf 'endDate', with: /dddd-dd-dd/, {message: 'should be in the following format: yyyy-mm-dd'}, allowBlank: true
Is there a way to allow for empty/blank values? The validation works but saving the user gives the following error: EndDate is invalid (Invalid Date)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have field called 'end_date' defined in my schema as:
and under my User model I have the current validation:
Is there a way to allow for empty/blank values? The validation works but saving the user gives the following error: EndDate is invalid (Invalid Date)
The text was updated successfully, but these errors were encountered: