Fix MudBlazor analyzer warnings: Title attribute should be lowercase #56

Closed
opened 2026-01-18 22:09:51 +00:00 by joezombie · 0 comments
joezombie commented 2026-01-18 22:09:51 +00:00 (Migrated from github.com)

Description

The build produces MudBlazor analyzer warnings (MUD0002) about using Title attribute on MudIconButton components. MudBlazor prefers lowercase title.

Warnings

MUD0002: Illegal Attribute 'Title' on 'MudIconButton' using pattern 'LowerCase'

Affected Files

  • Components/Pages/Episodes/EpisodeList.razor (3 warnings)
  • Components/Pages/Downloads.razor (3 warnings)
  • Components/Pages/Feeds/FeedList.razor (3 warnings)

Fix

Change Title="..." to title="..." on all MudIconButton components:

<!-- Before -->
<MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small"
    OnClick="() => ViewFeed(context.Item)" Title="View Details" />

<!-- After -->
<MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small"
    OnClick="() => ViewFeed(context.Item)" title="View Details" />

Acceptance Criteria

  • All MudIconButton Title attributes changed to lowercase title
  • Build produces no MUD0002 warnings
## Description The build produces MudBlazor analyzer warnings (MUD0002) about using `Title` attribute on `MudIconButton` components. MudBlazor prefers lowercase `title`. ## Warnings ``` MUD0002: Illegal Attribute 'Title' on 'MudIconButton' using pattern 'LowerCase' ``` ## Affected Files - `Components/Pages/Episodes/EpisodeList.razor` (3 warnings) - `Components/Pages/Downloads.razor` (3 warnings) - `Components/Pages/Feeds/FeedList.razor` (3 warnings) ## Fix Change `Title="..."` to `title="..."` on all MudIconButton components: ```razor <!-- Before --> <MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small" OnClick="() => ViewFeed(context.Item)" Title="View Details" /> <!-- After --> <MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small" OnClick="() => ViewFeed(context.Item)" title="View Details" /> ``` ## Acceptance Criteria - [ ] All MudIconButton `Title` attributes changed to lowercase `title` - [ ] Build produces no MUD0002 warnings
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
joezombie/castr#56
No description provided.