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
This discussion was converted from issue #11966 on June 08, 2024 02:22.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Version Number
7.51.5
Codesandbox/Expo snack
Steps to reproduce
FieldPathByValue<T, string>
for the type of the path argument tosetValue
string
forstringValue
setValue(path, stringValue)
Expected behaviour
Since
FieldPathByValue<T, string>
returns the set of paths tostring
values, callingsetValue
with a string should not cause a typescript error.What browsers are you seeing the problem on?
No response
Relevant log output
By the way - I absolutely love this library. 🙏
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions