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(comp:input-number): add formatter prop to format number display #1993

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

sallerli1
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

What is the new behavior?

新增 formatter prop,用于将数字格式化为显示的文字

Other information

Copy link

idux-bot bot commented Oct 15, 2024

This preview will be available after the AzureCI is passed.

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 87.21%. Comparing base (6d3e185) to head (577ed41).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...ages/components/input-number/src/useInputNumber.ts 78.94% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1993      +/-   ##
==========================================
- Coverage   87.21%   87.21%   -0.01%     
==========================================
  Files         376      376              
  Lines       23467    23291     -176     
  Branches     2441     3389     +948     
==========================================
- Hits        20467    20313     -154     
+ Misses       3000     2978      -22     
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sallerli1 sallerli1 merged commit 003a180 into IDuxFE:main Oct 15, 2024
7 of 9 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.

1 participant