Required if optional parent is present #1027
alexbowers
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was wondering how to set it up so that if the parent is present, then a field is required.
I have tried the following:
And then validating it like this:
however, it gives me the error:
Key: 'Dependencies.Database.Engine' Error:Field validation for 'Engine' failed on the 'required' tag
Beta Was this translation helpful? Give feedback.
All reactions