React State Object Input Can't use Trim

前端 未结 0 1892
抹茶落季
抹茶落季 2021-02-06 11:13

I want to use trim on my input which works for normal state but object state it doesn\'t example below will show it clearly:

This works:

onChangeText={(nam         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题