Skip to content

Conversation

@jameslahm
Copy link
Contributor

@jameslahm jameslahm commented Apr 7, 2021

Fix ant-design/ant-design#30045, should consider mergedPrecision equals zero.

@vercel
Copy link

vercel bot commented Apr 7, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/input-number/5YHTnRF49VwWX4Pfg1dG2Dxqqvpp
✅ Preview: https://input-number-git-fork-jameslahm-master-react-component.vercel.app

@codecov
Copy link

codecov bot commented Apr 7, 2021

Codecov Report

Merging #314 (59bece5) into master (4c53ce9) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #314   +/-   ##
=======================================
  Coverage   97.25%   97.25%           
=======================================
  Files           8        8           
  Lines         401      401           
  Branches      108      108           
=======================================
  Hits          390      390           
  Misses         11       11           
Impacted Files Coverage Δ
src/InputNumber.tsx 98.17% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c53ce9...59bece5. Read the comment docs.

Co-authored-by: afc163 <afc163@gmail.com>
@zombieJ zombieJ merged commit 295dfe8 into react-component:master Apr 13, 2021
@zombieJ
Copy link
Member

zombieJ commented Apr 13, 2021

+ rc-input-number@7.0.5

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.

InputNumber 设置 precision 为 0 时, 失焦后提交表单,输入框展示的值和实际提交的值不一致

3 participants