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

AtInput editable 无法正常切换 #165

Closed
kenberkeley opened this issue Nov 9, 2018 · 3 comments
Closed

AtInput editable 无法正常切换 #165

kenberkeley opened this issue Nov 9, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@kenberkeley
Copy link

AtInput 的 editable 属性无法从 false 切换回 true

  1. 初始状态,默认可编辑 editable={true},表现正常
    image

  2. 点击按钮,输入框无法编辑 editable={false},表现正常
    image

  3. 再点击按钮,输入框依然保持无法编辑状态 editable={true},表现异常
    image

@kenberkeley
Copy link
Author

顺便说一句,disabled 属性的表现一切正常

@jimczj
Copy link
Contributor

jimczj commented Nov 9, 2018

发现小程序的 disabled 只在初始值的时候有效,近期会在editable={false} 的时候切换成view来重新实现

@jimczj jimczj added the bug Something isn't working label Nov 9, 2018
jimczj added a commit that referenced this issue Dec 28, 2018
@jimczj
Copy link
Contributor

jimczj commented Dec 28, 2018

已修复,等待发版

@jimczj jimczj closed this as completed Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants