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 🙇
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 🙇