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
The useFieldInitialValue hook indeed accepts the RESET symbol, so the request seems valid.
But looking at it practically, I would advise not to use it in such a way.
The purpose of the initialValue prop is to set the hydrated data, e.g. when you fetch that from the server.
The RESET symbol value, is to clear any changes back to the first hydrated value, which best is done via the reset action.
Describe the bug
I noticed that List component has missing type to accept RESET symbol.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Like initialValue in useList(,{initialValue}), it should accept RESET symbol.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: