-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Milestone
Description
Environment
- react-advanaced-form: 1.6.7
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.
Reactions are currently unavailable