final-form / final-form/react-final-form
form tag onChange method not triggering on third party components like react-select
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I have written **onChange** method on form tag to track each time the change is made on fields, it works fine for **TextFieldAdapter** but not working for **ReactSelectAdapter**.
code show below
```
const TextFieldAdapter = ({ input, meta, ...rest }) => (
input.onChange(value)}
errorText={meta.touched ? meta.error : ""}
/>
);
const ReactSelectAdapter = ({ input, ...rest }) => (
input.onChange(event)}
searchable
/>
);
const App = () => (
(
{
console.log("form fields onChange tracker");
}}
>
Submit
/>
)
```
am I missing something here ?
Contributor guide
Assessment
This issue has not been assessed yet.