We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.14
No response
1、如下代码,给<t-stepper组件设置了min/max值为10/9999,步长step为2。 默认值为10的时候,然后定位到输入框,想用退格键删除0,输入2(即结果值为12)时,不能删除,始终为最小值10
2、后面change改为blur事件,输入值可以任意编辑,但左右的减和加按钮无法点击
<t-stepper value="{{buyNum}}" step="{{buyStep}}" min="{{limitMinCount}}" max="{{limitMaxCount}}" theme="filled" bind:change="handleBuyNumChange"/>
<t-stepper
handleBuyNumChange(e) { const { value } = e.detail; this.setData({ buyNum: value, }); }
期望输入框可以任意编辑或清除数值,结束后才校验输入值的正确性。
输入框无法删除全部或部分值重新输入,始终锁定最小值
The text was updated successfully, but these errors were encountered:
👋 @net205,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
目前最新版本无此问题,请更新版本
No branches or pull requests
tdesign-miniprogram 版本
1.1.14
重现链接
No response
重现步骤
1、如下代码,给<t-stepper组件设置了min/max值为10/9999,步长step为2。
默认值为10的时候,然后定位到输入框,想用退格键删除0,输入2(即结果值为12)时,不能删除,始终为最小值10
2、后面change改为blur事件,输入值可以任意编辑,但左右的减和加按钮无法点击
<t-stepper
value="{{buyNum}}" step="{{buyStep}}" min="{{limitMinCount}}" max="{{limitMaxCount}}" theme="filled" bind:change="handleBuyNumChange"/>handleBuyNumChange(e) { const { value } = e.detail; this.setData({ buyNum: value, }); }
期望结果
期望输入框可以任意编辑或清除数值,结束后才校验输入值的正确性。
实际结果
输入框无法删除全部或部分值重新输入,始终锁定最小值
基础库版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: