mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 02:30:01 -03:30
remove linked fields from validation loop
All linked fields are initially valid. All unlinked fields are initially valid.
This commit is contained in:
@@ -230,6 +230,8 @@ function AddEditCredentialsController (
|
||||
vm.form[field].asTag = false;
|
||||
vm.form[field]._value = '';
|
||||
vm.form[field]._tagValue = '';
|
||||
vm.form[field]._isValid = true;
|
||||
vm.form[field]._rejected = false;
|
||||
vm.inputSources.items = vm.inputSources.items
|
||||
.filter(({ input_field_name }) => input_field_name !== field);
|
||||
vm.inputSources.changedInputFields.push(field);
|
||||
|
||||
Reference in New Issue
Block a user