【发布时间】:2017-12-14 11:57:13
【问题描述】:
我正在使用 React Native 的 TextInput。我想根据要求禁用返回键。有没有办法通过自定义代码禁用/启用返回键? 我尝试了 enableReturnKeyAutomatically 但它不起作用。
【问题讨论】:
-
您好,欢迎来到 StackOverflow。请花一些时间阅读帮助页面,尤其是名为"What topics can I ask about here?" 和"What types of questions should I avoid asking?" 的部分。更重要的是,请阅读the Stack Overflow question checklist。您可能还想了解Minimal, Complete, and Verifiable Examples。