Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs RN TextInput不侦听returnKeyType更改_Reactjs_React Native_Textinput - Fatal编程技术网

Reactjs RN TextInput不侦听returnKeyType更改

Reactjs RN TextInput不侦听returnKeyType更改,reactjs,react-native,textinput,Reactjs,React Native,Textinput,我试图在编辑时将TextInput的returnKeyType属性从next更改为go,但它不起作用。请帮我找到解决办法。谢谢提供一些代码或在零食上创建一个提琴。我有两个文本输入-密码和用户名。因此,上面提供的代码是针对username TextInput的。我检查password和username是否为空字符串。如果它们是空字符串,那么我想显示next按钮,否则-go按钮针对同一问题,你有没有找到解决方法?没有,我没有

我试图在编辑时将
TextInput
returnKeyType
属性从
next
更改为
go
,但它不起作用。请帮我找到解决办法。谢谢

提供一些代码或在零食上创建一个提琴。我有两个文本输入-密码和用户名。因此,上面提供的代码是针对username TextInput的。我检查password和username是否为空字符串。如果它们是空字符串,那么我想显示
next
按钮,否则-
go
按钮针对同一问题,你有没有找到解决方法?没有,我没有