PMCORE-2579 Extenden Attributes with repeated attribute can be created

This commit is contained in:
Roly Rudy Gutierrez Pinto
2020-12-18 09:36:19 -04:00
parent fd17dd2c24
commit fbb42c7ec1

View File

@@ -215,7 +215,15 @@
this.statusAttributeIdMessage = this.$root.translation("ID_INVALID_DATA");
return;
}
this.saveForm();
let promise = this.validateName();
promise.then(response => {
response;
let promise2 = this.validateAttributeId();
promise2.then(response2 => {
response2;
this.saveForm();
});
});
},
validateName() {
this.statusValidation = false;