[Fix #16696] Rewrite BaseTextInput to function component
#20186
Merged
BaseTextInput to function component
#20186