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
Hi,
Loving the extra TS support! I was just wondering if it would be possible that append/prepend could take a deep partial instead of just partial? This would be super handy for nested field array scenarios, where you want to just create an empty nested iteration and not supply any default values.
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.
-
Hi,
Loving the extra TS support! I was just wondering if it would be possible that append/prepend could take a deep partial instead of just partial? This would be super handy for nested field array scenarios, where you want to just create an empty nested iteration and not supply any default values.
Here's an example https://codesandbox.io/s/nested-array-v7-4fq90?file=/src/FieldArray.tsx See lines 46 and 56.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions