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 implemented validation using a custom resolver. It runs executes a GraphQL mutation with the data and returns validation errors. I'd like to extend this functionality so that my mutation can also return some field values that should be updated. The fact that values are returned from the resolver suggests to me that this should be possible, but my form isn't updating with the new values. Is this supposed to be possible and I'm missing something obvious or what are some suggestions to make this work?
I'm currently using react-hook-form version 7.54.0.
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 implemented validation using a custom resolver. It runs executes a GraphQL mutation with the data and returns validation errors. I'd like to extend this functionality so that my mutation can also return some field values that should be updated. The fact that values are returned from the resolver suggests to me that this should be possible, but my form isn't updating with the new values. Is this supposed to be possible and I'm missing something obvious or what are some suggestions to make this work?
I'm currently using react-hook-form version 7.54.0.
Beta Was this translation helpful? Give feedback.
All reactions