shoutem / ui

Customizable set of components for React Native applications
Other
4.92k stars 458 forks source link

Forward ref to TextInput #814

Closed tomislav-arambasic closed 8 months ago

tomislav-arambasic commented 8 months ago

We need to forward a ref down to TextInput to be able to use TextInput internal methods from outside of it. Example: We need to programatically blur input when its value has been populated - user selecting a choice in dropdown.

Credits go to @danalloway who opened up a PR with this change, long time ago, and closed recently after years of no response/activity on PR. Apologies Dan 🙇