-
Notifications
You must be signed in to change notification settings - Fork 240
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
How to apply dependency validation in the same block ? #621
Comments
Please guide |
this dependencies will work when you write the dependency for other field level
If field validations are on same block then it wont work as expected Q2. if suppose user passed in the document then how to bypass this validation ? how can i enforce this in the schema only that don't consider cutoff_date validation when split_type is not custom ? (without writing server side validations with functions) Q3. In this schema how can i enforce the custom Error messages (without writing server side validations with functions) right now this error is coming i want error like this (For split_type "custom" cutoff_date is required) Human Readable Error |
@funkyfuture please guide on this. What are the best practices on these questions. |
@funkyfuture sorry to tag you directly here
but i'm stuck in this from a long.
Split type dependency on cut off date
When split_type is "custom" then "cutoff_date" is required.
Im getting below error
{'data_splitting': [{'cutoff_date': ["depends on these values: {'split_type': ['custom']}"]}]}
The text was updated successfully, but these errors were encountered: