Skip to content

Commit

Permalink
fix(mudblazor): use HelperText instead of Tooltip, add For in MudYout…
Browse files Browse the repository at this point in the history
…ubeBlockForm.razor

Refs: BLOCKLY-T-2
  • Loading branch information
SonicGD committed Jan 18, 2022
1 parent a69aa1c commit 7ffff16
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
@inherits YoutubeBlockForm<MudBlazorBlocklyFormOptions>
<!--suppress HtmlDeprecatedAttribute -->
<MudItem>
<MudTextField Label="@LocalizationProvider["Url"]" Placeholder="@LocalizationProvider["Video url"]" @bind-Value="@Block.Url"/>
<MudTooltip Text="@LocalizationProvider["Full YouTube video url"]">
<MudIconButton Class="mx-2" Icon="@Icons.Material.Outlined.Info" />
</MudTooltip>
<MudTextField Label="@LocalizationProvider["Url"]" HelperText="@LocalizationProvider["Full YouTube video url"]" Placeholder="@LocalizationProvider["Video url"]" @bind-Value="@Block.Url" For="() => Block.Url"/>
</MudItem>
@if (!string.IsNullOrEmpty(Block.YoutubeId))
{
Expand Down

0 comments on commit 7ffff16

Please sign in to comment.