diff --git a/CodeBeam.MudBlazor.Extensions/Components/PasswordField/MudPasswordField.razor b/CodeBeam.MudBlazor.Extensions/Components/PasswordField/MudPasswordField.razor index 66beb1ca..8da611bd 100644 --- a/CodeBeam.MudBlazor.Extensions/Components/PasswordField/MudPasswordField.razor +++ b/CodeBeam.MudBlazor.Extensions/Components/PasswordField/MudPasswordField.razor @@ -19,8 +19,6 @@ ForId="@FieldId"> - @if (AdornmentStart != null) - { + ShrinkLabel="@ShrinkLabel" + HasAdornmentStart="@(AdornmentStart != null)"> @AdornmentStart @@ -69,55 +68,6 @@ } - } - else - { - - - @if (CustomAdornment != null) - { - @CustomAdornment - } - else - { - - } - - - }