fix(native-filters): allow X-clear on defaultToFirstItem filters with required warning - #42762
Conversation
…h required warning
Code Review Agent Run #95ff6eActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #42762 +/- ##
=======================================
Coverage 65.77% 65.77%
=======================================
Files 2840 2840
Lines 161987 161995 +8
Branches 37124 37130 +6
=======================================
+ Hits 106547 106555 +8
Misses 53375 53375
Partials 2065 2065
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
villebro
left a comment
There was a problem hiding this comment.
Awesome, this bug has been bugging people for as long as I can remember! 🙌 LGTM
SUMMARY
When "Select first filter value by default" is enabled, the filter value can now be cleared via the X button. Clearing shows the same red required-style validation warning as "Filter value is required", rather than silently re-auto-selecting the first item.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION