-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
MudSelectItem, MudNavLink: Remove MudBaseSelectItem #10045
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #10045 +/- ##
==========================================
- Coverage 91.05% 91.05% -0.01%
==========================================
Files 410 410
Lines 12457 12454 -3
Branches 2428 2428
==========================================
- Hits 11343 11340 -3
Misses 566 566
Partials 548 548 ☔ View full report in Codecov by Sentry. |
|
Btw |
Cleanup. Apparently even the OnClick eventcallback wasn't used and this PR also closes this issue: #5051 as it never ever implemented it, as as benno mentioned #5051 (comment) this is an API inconsistency. |
|
Added to v8.0.0 Migration Guide #9953 |
|
Dang I was using this to create what was called a 'MudSelectOptGroup' which created 'optgroup' elements in the select input/dropdown element. Sad days... Will have to figure a new way around. Just updated to version 8, will revert until I can figure this one out. |
You may want to copy MudBaseSelectItem into your own project if you don't want to reimplement the properties, it's a fairly small class. |
Description
Components should be as standalone as possible, otherwise, you risk creating a "monolith." Only basic base components should exist, such as
MudComponentBase. The only exception isMudFormComponent, which should only contain logic related to validation (our attempts to handle conversion logic and dictates theValueproperty, but that’s off-topic).Also, the name of the base class is weird, as
NavLinkis not really a select item.Fixes: #5051
Type of Changes
Checklist
dev).