-
-
Notifications
You must be signed in to change notification settings - Fork 999
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(module: input): OnChange will invoke twice when paste data to Input #2592
fix(module: input): OnChange will invoke twice when paste data to Input #2592
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2592 +/- ##
==========================================
+ Coverage 27.79% 29.61% +1.81%
==========================================
Files 497 520 +23
Lines 33447 25676 -7771
Branches 0 250 +250
==========================================
- Hits 9298 7603 -1695
+ Misses 24149 18033 -6116
- Partials 0 40 +40
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
这样就能避免OnChange被调用两次了吗?从代码里看不出其中的关联性。(抱歉我还没有运行这段代码) |
是的如果没有 CurrentValueAsString = args?.Value?.ToString();的话,会调用两次OnChange |
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.
lgtm
…ut (#2592) * 修复粘贴数据至input组件时,OnChange会触发两次的问题 * 修复Search组件无法触发Blur的问题
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge