-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: fixed onChange being fired twice on clear input #18048
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18048 +/- ##
=======================================
Coverage 82.10% 82.10%
=======================================
Files 404 404
Lines 14107 14110 +3
Branches 4397 4380 -17
=======================================
+ Hits 11582 11585 +3
- Misses 2362 2363 +1
+ Partials 163 162 -1 ☔ View full report in Codecov by Sentry. |
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!
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
Duplicate fix from #18041 (review) |
Closes #18027
Added a new validayion inside the if clause to aovid two
onChanges
to be called when the clear button is clicked.Changelog
Testing / Reviewing
Test the Combobox clear functionality with the console open.
Delete console.log