mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
validate form when toggle replace/revert on password/secret
This commit is contained in:
parent
d969e37f94
commit
ab42c710eb
@ -94,6 +94,7 @@ function BaseInputController (strings) {
|
||||
scope.state._value = scope.state._preEditValue;
|
||||
scope.state._activeModel = '_displayValue';
|
||||
scope.state._placeholder = vm.strings.get('ENCRYPTED');
|
||||
vm.check();
|
||||
} else {
|
||||
scope.state._buttonText = vm.strings.get('REVERT');
|
||||
scope.state._disabled = false;
|
||||
@ -101,6 +102,7 @@ function BaseInputController (strings) {
|
||||
scope.state._activeModel = '_value';
|
||||
scope.state._value = '';
|
||||
scope.state._placeholder = '';
|
||||
vm.check();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user