Skip to content

Commit

Permalink
feat(mudblazor): use new Label and HelperText in MudFileUpload
Browse files Browse the repository at this point in the history
Refs: BLOCKLY-T-2
  • Loading branch information
SonicGD committed Jan 19, 2022
1 parent d220b92 commit caf7522
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
{
<MudItem xs="12">
<MudFileUpload
Label="@LocalizationProvider["Source picture"]"
HelperText="@LocalizationProvider["Author photo, site logo, etc..."]"
Storage="FormOptions.Storage"
DisplayMode="FileUploadDisplayMode.Image"
ContentTypes="@FormOptions.ImagesOptions.AllowedTypes"
Expand All @@ -29,9 +31,6 @@
GenerateMetadata="FormOptions.ImagesOptions.GenerateMetadata"
@bind-Value="Block.Picture"
For="() => Block.Picture"/>
<MudTooltip Text="@LocalizationProvider["Author photo, site logo, etc..."]">
<MudIconButton Class="mx-2" Icon="@Icons.Material.Outlined.Info"/>
</MudTooltip>
</MudItem>
}

Expand Down

0 comments on commit caf7522

Please sign in to comment.