fateh999 / react-native-paper-form-builder

React Native Paper Form Builder with inbuilt Validation, dropdown, autocomplete, checkbox, switch and radio inputs.
MIT License
116 stars 25 forks source link

How can I integrate google place autocomplete using this? #55

Closed thecannabisapp closed 6 months ago

thecannabisapp commented 2 years ago

Firstly, thank you for building this! I've just begun my journey to learn RHF and I was not aware of this excellent helper!

I'm trying to build an address autocomplete using google place autocomplete. I saw this form builder has an autocomplete input type which is exactly what I need, as it is lacking in React Native Paper by default.

However, I saw the options are presented in an array that is part of the form config. Is it possible to define the array object elsewhere so this can be updated by an API call?

Also, I noticed in the advance example a JSX custom field. Is this an alternative option to implement the address autocomplete feature I'm looking for?

Thank you.