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

[Bug 上报] InputNumber 组件无法删除到空值了 #950

Open
q3156277562 opened this issue Mar 17, 2025 · 2 comments
Open

[Bug 上报] InputNumber 组件无法删除到空值了 #950

q3156277562 opened this issue Mar 17, 2025 · 2 comments
Labels
🐞bug: need confirm 待确认的bug

Comments

@q3156277562
Copy link

Wot Design Uni 版本号

1.7.1

平台

APP

复现Demo地址(如不提供,将被直接关闭)

https://wot-design-uni.pages.dev/component/input-number.html

重现步骤

将InputNumber 上面的值直接删除就行

期望的结果是什么?

删除之后不应该直接把最小值直接赋值上去,而是在失焦时才将值赋值过去。例如:现在的值是9,用户想将其改为1,刚刚将9删除就会立马将最小值赋过去。此操作在1.5之前是没有问题的

实际的结果是什么?

删除之后会立马将最小值赋值到输入框

环境信息

No response

其他补充信息

No response

@q3156277562 q3156277562 added the 🐞bug: need confirm 待确认的bug label Mar 17, 2025
Copy link

感谢您提交关于 InputNumber 组件的问题。根据您描述的情况,问题出现在删除输入框中的值后,组件会立即将最小值赋值到输入框,而不是在失去焦点时才进行赋值。这种行为在版本 1.5 之前是没有问题的。

我们会对这个问题进行调查和处理。请您耐心等待更新。如果有任何进一步的信息或补充,请随时告知。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@ArnoShaw
Copy link

同求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug: need confirm 待确认的bug
Projects
None yet
Development

No branches or pull requests

2 participants