Untitled
unknown
javascript
2 years ago
564 B
9
Indexable
checkValidity() {
if (this.recordName == "WebServices") {
//Enable is empty
if (
this.initParamForm.value["webservices.enable"] === this.webservicesEnable
) {
this.toastr.error(
this.translateService.instant("webservicesEnableEmpty")
);
} else if (
this.initParamForm.value["webservices.enable"] !== "Y" ||
this.initParamForm.value["webservices.enable"] !== "N"
) {
this.toastr.error(
this.translateService.instant("webservicesEnableIncorrectValue")
);
}
}
}
Editor is loading...