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
How can I make the propA_B_A dependency with propB?
I didn't get how I do this reading the docs (Schema Dependencies). It seems like there's no way to do a dependency with a parent field like this. But maybe I just didn't understand how.
Following the same idea, how can I do this same dependency with arrays?
{
"propA": "text here", // string"propB": true, // bolean"propA": [{ // array of object <---"propA_A": "text here", // string"propA_B": { // object"propA_B_A": "this fild only appear if propB is true", // string"propA_B_B": "text here", // string
},
}]
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Say I have to create a form that results on this JSON.
How can I make the
propA_B_A
dependency withpropB
?I didn't get how I do this reading the docs (Schema Dependencies). It seems like there's no way to do a dependency with a parent field like this. But maybe I just didn't understand how.
Following the same idea, how can I do this same dependency with arrays?
Beta Was this translation helpful? Give feedback.
All reactions