-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
fix: double onchange and render double number pointer in input when i… #275
base: master
Are you sure you want to change the base?
Conversation
…nput first render use chinese input method and input full stop
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/react-component/input-number/ocwejydkv |
let value = e.target.value | ||
.trim() | ||
.replace(/。/g, '.') | ||
.replace(/\.+/g, '.'); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
能合成一个吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, i got it
Codecov Report
@@ Coverage Diff @@
## master #275 +/- ##
=======================================
Coverage 93.01% 93.01%
=======================================
Files 1 1
Lines 372 372
Branches 134 134
=======================================
Hits 346 346
Misses 26 26
Continue to review full report at Codecov.
|
repro steps: