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

[input-number]「e」字符之后,可输入「.」和多个「+」字符 #5156

Open
Sight-wcg opened this issue Mar 5, 2025 · 1 comment · May be fixed by Tencent/tdesign-common#2022
Open
Labels
💪🏻 enhancement New feature or request

Comments

@Sight-wcg
Copy link

Sight-wcg commented Mar 5, 2025

重现链接

https://stackblitz.com/edit/t1kkwydk?file=src%2Fdemo.vue

重现步骤

  1. 输入框输入「e」字符
  2. 输入「.」和多个「+」字符

期望结果

预期「e」之后禁止输入「.」和「+」字符

实际结果

「e」字符之后,可输入「.」和多个「+」字符

Image

补充说明

上游 https://github.com/Tencent/tdesign-common 的问题

Environment Info
相关版本 1.11.2
框架版本 / 基础库版本 Vue 3.3.9
系统、浏览器 Edge(133.0.3065.92)
Node版本 18

IssueShoot

  • 预估时长: 1
  • 期望完成时间: 2025-03-16 00:00:00 +0000 UTC
  • 开发难度: 低
  • 参与人数: 1
  • 需求对接人: ivringpeng
  • 验收标准: 实现期望改造效果,提 PR 并通过验收无误
  • 备注: 最终激励以实际提交 pull request 并合并为准
Copy link
Contributor

github-actions bot commented Mar 5, 2025

👋 @Sight-wcg,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@Sight-wcg Sight-wcg changed the title [input-number] 「e」字符之后,可输入「.」和多个「 」字符 [input-number] 「e」字符之后,可输入「.」和多个「+」字符 Mar 5, 2025
@Sight-wcg Sight-wcg changed the title [input-number] 「e」字符之后,可输入「.」和多个「+」字符 [input-number]「e」字符之后,可输入「.」和多个「+」字符 Mar 5, 2025
@uyarn uyarn added issueShoot 上架到腾讯内部issueshoot平台的任务 easy 上架到腾讯内部issueshoot平台的任务 - 容易难度 💪🏻 enhancement New feature or request and removed issueShoot 上架到腾讯内部issueshoot平台的任务 easy 上架到腾讯内部issueshoot平台的任务 - 容易难度 labels Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪🏻 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants