diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-13 01:56:47 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-13 01:56:47 +0200 |
commit | 3c93a671aa6eedb895cbdbf7ab74100beddcfd46 (patch) | |
tree | ef64644302203810d33fe4e4b302ea910c8fcb40 /MatrixRoomUtils.Web | |
parent | Improved many features (diff) | |
download | MatrixUtils-3c93a671aa6eedb895cbdbf7ab74100beddcfd46.tar.xz |
Fix passwords being visible during editing
Diffstat (limited to 'MatrixRoomUtils.Web')
-rw-r--r-- | MatrixRoomUtils.Web/Shared/SimpleComponents/FancyTextBox.razor | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MatrixRoomUtils.Web/Shared/SimpleComponents/FancyTextBox.razor b/MatrixRoomUtils.Web/Shared/SimpleComponents/FancyTextBox.razor index 9c325a7..702d41e 100644 --- a/MatrixRoomUtils.Web/Shared/SimpleComponents/FancyTextBox.razor +++ b/MatrixRoomUtils.Web/Shared/SimpleComponents/FancyTextBox.razor @@ -1,7 +1,7 @@ @inject IJSRuntime JsRuntime @if (isVisible) { - <input autofocus @bind="Value" @onfocusout="() => { isVisible = false; ValueChanged.InvokeAsync(Value); }" @ref="elementToFocus"/> + <input autofocus type="@(IsPassword ? "password" : "text")" @bind="Value" @onfocusout="() => { isVisible = false; ValueChanged.InvokeAsync(Value); }" @ref="elementToFocus"/> } else { |