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

feat(InputNumber): input-number support enableRound #1922

Conversation

zhangpaopao0609
Copy link
Collaborator

@zhangpaopao0609 zhangpaopao0609 commented Sep 5, 2024

🤔 这个 PR 的性质是?

  • 新特性提交

🔗 相关 Issue

#4499

💡 需求背景和解决方案

  1. feature
    decimalPlaces supports flexible configuration of rounding strategies

  2. proposal

decimalPlaces supports two types:

  • decimalPlaces: number
  • decimalPlaces: { enableRound: boolean, places: number }

📝 更新日志

  • feat(InputNumber): decimalPlaces 类型扩展,支持灵活的进位配置

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@liweijie0812
Copy link
Collaborator

在test/unit/input-number 加些测试案例

@uyarn
Copy link
Collaborator

uyarn commented Sep 10, 2024

@uyarn uyarn changed the title feat: input-number support enableRound feat(InputNumber): input-number support enableRound Sep 10, 2024
@uyarn uyarn merged commit 4c7c9f8 into Tencent:develop Sep 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants