final-form / final-form/react-final-form
Update the form values based on an external service response
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
I'm using the `react-final-form` package to create configurable forms based on a schema.
I've got a need where I need to attach the Google Maps Places autocomplete functionality to the input field. This is easy enough, however when a user selects the place from the Google dropdown, I need to then take the place data and update the form's values object so that each other field can be filled in with Google's place data.
For the most part it seems that each field input element can only update the property on the values object that it is responsible for. I'm wondering how I can trigger updating multiple field values on the form from an external service?
Contributor guide
Assessment
This issue has not been assessed yet.