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 不应允许非数值 #1864

Open
fu050409 opened this issue May 29, 2024 · 0 comments · May be fixed by #1865
Open

🐛 [Bug]: InputNumber 不应允许非数值 #1864

fu050409 opened this issue May 29, 2024 · 0 comments · May be fixed by #1865
Assignees
Labels
bug Something isn't working

Comments

@fu050409
Copy link
Collaborator

Version

latest

Vue Version

latest

Link to minimal reproduction

https://vue-devui.github.io/components/input-number/

Step to reproduce

如果输入诸如1..2.0.1222.10,会在检查后返回原始数据。

What is expected

应当添加type="number",保证在输入阶段保证数据为数值。

What is actually happening

No response

Any additional comments (optional)

No response

fu050409 added a commit to SWPUOpenSource/vue-devui that referenced this issue May 29, 2024
@fu050409 fu050409 linked a pull request May 29, 2024 that will close this issue
fu050409 added a commit to SWPUOpenSource/vue-devui that referenced this issue May 29, 2024
@GreatZPP GreatZPP added the bug Something isn't working label May 29, 2024
@fu050409 fu050409 self-assigned this May 31, 2024
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

Successfully merging a pull request may close this issue.

2 participants