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

[Question]Input组件如果设置了readOnly后replaceholder失效 #2341

Open
xmsz opened this issue Apr 13, 2022 · 4 comments
Open

[Question]Input组件如果设置了readOnly后replaceholder失效 #2341

xmsz opened this issue Apr 13, 2022 · 4 comments

Comments

@xmsz
Copy link

xmsz commented Apr 13, 2022

背景

<Input  placeholder="123" readOnly/>

预期

  • 会显示placeholder

实际

  • 什么都没显示

需求

  • 显示placeholder

还有我希望readOnly的时候 onClick也能触发 现在不行

@lianmin
Copy link

lianmin commented May 16, 2022

小程序环境么?

@xmsz
Copy link
Author

xmsz commented May 16, 2022

小程序环境么?

web环境 小程序没有测试

@lianmin
Copy link

lianmin commented May 16, 2022

已复现,下个版本 2.7.2 修复

1 similar comment
@lianmin
Copy link

lianmin commented May 16, 2022

已复现,下个版本 2.7.2 修复

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

No branches or pull requests

3 participants