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.
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.