Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RN]Input组件没有透传参数到RN的TextInput #3125

Closed
tourze opened this issue May 22, 2019 · 4 comments
Closed

[RN]Input组件没有透传参数到RN的TextInput #3125

tourze opened this issue May 22, 2019 · 4 comments
Assignees

Comments

@tourze
Copy link
Contributor

tourze commented May 22, 2019

问题描述
node_modules/@tarojs/components-rn/dist/components/Input/index.js,传递给TextInput的参数是有挑选的,我们直接传入一些参数,如 placeholderTextColor 最终会无效的。。。希望能将文档提及的参数 https://facebook.github.io/react-native/docs/textinput.html 透传给最终组件。或者官方自己封装一下也行。。。

image

image

期望行为
参数能透传给平台最终负责渲染的组件

系统信息

👽 Taro v1.3.0-beta.3


  Taro CLI 1.3.0-beta.3 environment info:
    System:
      OS: macOS 10.14.4
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 11.9.0 - /usr/local/bin/node
      Yarn: 1.13.0 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
    npmGlobalPackages:
      typescript: 2.4.2
@taro-bot
Copy link

taro-bot bot commented May 22, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@taro-bot
Copy link

taro-bot bot commented May 23, 2019

CC @Pines-Cheng

@taro-bot
Copy link

taro-bot bot commented May 23, 2019

CC @Manjiz

@Manjiz Manjiz closed this as completed in 02d4e3b May 23, 2019
@Manjiz
Copy link
Contributor

Manjiz commented May 23, 2019

TextInput 的参数你都可以传了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants