refactor: 💡 update passphrase field to a password text input (#1292)

Update passphrase field to a text input to allow for adding a password
type
This commit is contained in:
Cameron Perera authored and GitHub committed 2022-08-31 17:08:34 -05:00
1 parent 6fd0301635
commit e019b825ac
1 file changed
+4 -2
@@ -123,7 +123,8 @@
</field.errors>
{{/if}}
</form.textarea>
<form.textarea
<form.input
@type='password'
@name='private_key_passphrase'
@value={{@model.private_key_passphrase}}
@label={{t 'resources.credential.form.private_key_passphrase.label'}}
@@ -131,6 +132,7 @@
@error={{@model.errors.private_key_passphrase}}
disabled={{@model.isSaving}}
readonly={{false}}
autocomplete='new-password'
as |field|
>
{{#if @model.errors.private_key_passphrase}}
@@ -140,7 +142,7 @@
{{/each}}
</field.errors>
{{/if}}
</form.textarea>
</form.input>
{{/if}}
{{#if (can 'save model' @model)}}