You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I maybe there's a better way to do this? Or at least I can return the field on c.CustomFunction() so I can have a nice output like this: Nodes.1.Name is required if Nodes.1.Location is not empty.
The text was updated successfully, but these errors were encountered:
System (please complete the following information):
linux
1.21
1.5.1
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
The above resulted in:
I have tried with
required_without
andrequired_unless
. I also tried usingNodes.Location
as the field too and nothing works.Expected behavior
Nodes.1.Name
shouldn't fail because it doesn't haveLocation
field set.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I can actually fix this by having a custom validator on the
Nodes
like this:But I maybe there's a better way to do this? Or at least I can return the
field
onc.CustomFunction()
so I can have a nice output like this:Nodes.1.Name is required if Nodes.1.Location is not empty
.The text was updated successfully, but these errors were encountered: