mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 16:01:20 -03:30
Change secret input edit mode to display as hiddden
This commit is contained in:
parent
e904d47122
commit
2777249502
@ -18,11 +18,11 @@ function AtInputSecretController (baseInputController) {
|
||||
baseInputController.call(vm, 'input', _scope_, element, form);
|
||||
|
||||
scope = _scope_;
|
||||
scope.type = 'password';
|
||||
|
||||
if (!scope.state._value || scope.state._promptOnLaunch) {
|
||||
scope.mode = 'input';
|
||||
scope.state._buttonText = vm.strings.get('SHOW');
|
||||
scope.type = 'password';
|
||||
|
||||
vm.toggle = vm.toggleShowHide;
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user