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

Counter组件设定最小值为1时,输入0,数字溢出bind:linout不会被触发 #1501

Closed
sizeoflove1 opened this issue Mar 15, 2022 · 1 comment
Labels
Bug 该 Issue 提出了一个 Bug 已解决:+1: Issue 已解决

Comments

@sizeoflove1
Copy link

设备型号:
iPhone12

LinUI 版本:
0.9.7

微信小程序基础库版本:
2.22.1

微信开发者工具版本:
1.06.2111300

问题描述及重现步骤:
Counter组件通过设定min属性、设定最小值为1时,输入0(input方式,不是icon),数字溢出bind:linout不会被触发。

现在的behavior是:输入0,bind:linout不被触发,但是0也没有被accept,count的数字是上一个有效数字。比如上一个数字是99,输入0后,count还是99,linout不被触发。

期望的hehavior是:输入0,linout被触发,count自动变为设定的最小值1.

相关截图

@sizeoflove1 sizeoflove1 added the Bug 该 Issue 提出了一个 Bug label Mar 15, 2022
@smileShirmy
Copy link
Member

smileShirmy commented May 15, 2022

感谢反馈,问题已修复,将在下个版本中推出

@smileShirmy smileShirmy added the 已解决:+1: Issue 已解决 label May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 该 Issue 提出了一个 Bug 已解决:+1: Issue 已解决
Projects
None yet
Development

No branches or pull requests

2 participants