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
I've got an object type that is often nested under another object in forms, prompting me to use withFieldGroup for handling this structure as a common pattern. However, there are some spots in my app where a form is specifically for that type of object (i.e.: the object is not nested, but is instead the root object used in the form).
Because fields is a required prop for withFieldGroup components, there doesn't seem to be a way to say "use the root object, not a nested property". Is this possible, or would this need to be a feature request?
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
Uh oh!
There was an error while loading. Please reload this page.
-
I've got an object type that is often nested under another object in forms, prompting me to use
withFieldGroupfor handling this structure as a common pattern. However, there are some spots in my app where a form is specifically for that type of object (i.e.: the object is not nested, but is instead the root object used in the form).Because
fieldsis a required prop forwithFieldGroupcomponents, there doesn't seem to be a way to say "use the root object, not a nested property". Is this possible, or would this need to be a feature request?Beta Was this translation helpful? Give feedback.
All reactions