MudBlazor/MudBlazor

Adornment.Both for MudTextField

Offen

#3.658 geöffnet am 03.01.2022

 (4 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)C# (1.631 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (10.394 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 6h) (108 gemergte PRs in 30 T)

Beschreibung

Feature request type

Enhance component

Component name

MudTextField

Is your feature request related to a problem?

Can an icon be added on both sides inside a MudTextField? For example a password box has in the beginning a lock icon and in the end an eye icon for visualizing the password.

Currently I have to choose between showing only the Start or the End icon:

Adornment="Adornment.End"
AdornmentIcon="@_passwordVisibilityIcon"

Describe the solution you'd like

Maybe something like this would go well:

Adornment="Adornment.Both"
AdornmentStartIcon="@_lockIcon"
AdornmentEndIcon="@_passwordVisibilityIcon"

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

No response

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributor Guide