chore: 🤖 secret input should default to type password (#269)
* chore: 🤖 secret input should default to type password * chore: 🤖 storage bucket aws key fields should be passwords
This commit is contained in:
1 parent
9f500b6627
commit
1a57e2b96d
3 files changed
+4
-6
No files matched your search
@@ -11,7 +11,7 @@
|
||||
@isRequired={{@isRequired}}
|
||||
@isInvalid={{@isInvalid}}
|
||||
@value={{@value}}
|
||||
@type={{@type}}
|
||||
@type={{(or @type 'password')}}
|
||||
name={{@name}}
|
||||
disabled={{or @isDisabled (not this.isEditing)}}
|
||||
...attributes
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
@isRequired={{true}}
|
||||
@value={{@model.access_key_id}}
|
||||
@isInvalid={{@model.errors.access_key_id}}
|
||||
@type='text'
|
||||
@type='password'
|
||||
name='access_key_id'
|
||||
{{on 'input' (set-from-event @model 'access_key_id')}}
|
||||
as |F|
|
||||
@@ -198,7 +198,7 @@
|
||||
@isRequired={{true}}
|
||||
@value={{@model.secret_access_key}}
|
||||
@isInvalid={{@model.errors.secret_access_key}}
|
||||
@type='text'
|
||||
@type='password'
|
||||
name='secret_access_key'
|
||||
disabled={{form.disabled}}
|
||||
{{on 'input' (set-from-event @model 'secret_access_key')}}
|
||||
@@ -223,7 +223,6 @@
|
||||
@isRequired={{true}}
|
||||
@value={{@model.access_key_id}}
|
||||
@isInvalid={{@model.errors.access_key_id}}
|
||||
@type='text'
|
||||
@name='access_key_id'
|
||||
@isDisabled={{form.disabled}}
|
||||
@showEditButton={{true}}
|
||||
@@ -250,7 +249,6 @@
|
||||
@isRequired={{true}}
|
||||
@value={{@model.secret_access_key}}
|
||||
@isInvalid={{@model.errors.secret_access_key}}
|
||||
@type='text'
|
||||
@name='secret_access_key'
|
||||
@isDisabled={{form.disabled}}
|
||||
@showEditButton={{true}}
|
||||
|
||||
@@ -751,7 +751,7 @@
|
||||
height: 1rem;
|
||||
position: absolute;
|
||||
bottom: 2.15rem;
|
||||
left: 0.25rem;
|
||||
left: 0.5rem;
|
||||
border-radius: 0.25rem;
|
||||
background-color: var(--token-color-palette-neutral-200);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user