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

input标签禁用 #454

Open
lizhaoyang140901 opened this issue Aug 30, 2021 · 0 comments
Open

input标签禁用 #454

lizhaoyang140901 opened this issue Aug 30, 2021 · 0 comments

Comments

@lizhaoyang140901
Copy link

input标签禁用,在ios中‘disabled={true}’没有问题,但是在安卓,只是文本颜色变色啦,依然可以弹起软键盘,编辑文本。input继承啦textInput的属性。所以,在安卓,必须得使用原生的editable={false},才可以起到禁用的作用。

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

1 participant