-
-
Notifications
You must be signed in to change notification settings - Fork 494
Open
Description
Are you submitting a bug report or a feature request?
Bug Report
What is the current behavior?
When passing an input
prop to the <Field name="name" component={Component} input={{onChange, value,...}} />
component in v7.0.0, the prop is ignored.
What is the expected behavior?
When passing an input
prop to the <Field name="name" component={Component} input={{onChange, value,...}} />
component in v5.0.0, it is passed down to the component when rendering.
Sandbox Link
v6.5.9, input.value
is "foo".
https://codesandbox.io/p/sandbox/t2gmyh
v7.0.0, input.value
is an empty string.
https://codesandbox.io/p/sandbox/3ld64d
What's your environment?
react-final-form: 7.0.0 final-form: 5.0.0 Node: 20.14.0 Browser: Latest Firefox MacOS Apple M1
Other information
The example only shows the issue with the value, but the other properties of the input object are also ignored.
mendesanna, MarcDanjou, yurii-oliiarnyk-finsight, rosskevin and douglasjunior
Metadata
Metadata
Assignees
Labels
No labels