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
What is the new or updated feature that you are suggesting?
For the nested object syntax it would be handy to seed only a subset of the fields. For example, consider a todo app where we want to pre-fill the first todo based off a previous interaction
Functionally, it looks like ValidatedForm already works like this. Just the Typescript type need to be updated. As a work around in my codebase, I've been re-exporting the ValidatedForm component with a DeepPartial type for the defaultValues prop.
What is the new or updated feature that you are suggesting?
For the nested object syntax it would be handy to seed only a subset of the fields. For example, consider a todo app where we want to pre-fill the first todo based off a previous interaction
Functionally, it looks like
ValidatedForm
already works like this. Just the Typescript type need to be updated. As a work around in my codebase, I've been re-exporting theValidatedForm
component with aDeepPartial
type for thedefaultValues
prop.Why should this feature be included?
The text was updated successfully, but these errors were encountered: