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
Seems that all custom props passed to the input component end up in the field state in the form.
Expected behavior
Field state contains explicit set of fields. Custom input component props do not reside there, as field state shouldn't maintain them.
Why
Most likely, there is some object spreading somewhere, that enlists all custom props into the field state. I suggest to look into some createField options (beforeRegister?) first.
The text was updated successfully, but these errors were encountered:
Environment
What
Current behavior
Seems that all custom props passed to the input component end up in the field state in the form.
Expected behavior
Field state contains explicit set of fields. Custom input component props do not reside there, as field state shouldn't maintain them.
Why
Most likely, there is some object spreading somewhere, that enlists all custom props into the field state. I suggest to look into some createField options (beforeRegister?) first.
The text was updated successfully, but these errors were encountered: