Convert secret value to password field ()

This commit is contained in:
José Valim 2023-05-23 20:22:06 +02:00 committed by GitHub
parent 5feac07d0e
commit 7ff4b640f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
lib/livebook_web/live

View file

@ -46,7 +46,7 @@ defmodule LivebookWeb.Hub.SecretFormComponent do
phx-debounce
class="uppercase"
/>
<.text_field
<.password_field
field={f[:value]}
label="Value"
autofocus={@secret_name != nil}

View file

@ -109,7 +109,7 @@ defmodule LivebookWeb.SessionLive.SecretsComponent do
phx-debounce
class="uppercase"
/>
<.text_field
<.password_field
field={f[:value]}
label="Value"
autofocus={@prefill_secret_name != nil}