@morozeckiy/dd-lib 0.9.7 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -401,7 +401,6 @@ class ValidatorsService {
|
|
|
401
401
|
}
|
|
402
402
|
static getErrorText(error) {
|
|
403
403
|
const presetErrors = ['minlength', 'maxlength', 'email', 'required', 'pattern', 'min', 'max', 'notEquivalent'];
|
|
404
|
-
console.log(error);
|
|
405
404
|
if (error) {
|
|
406
405
|
const key = Object.keys(error)?.[0];
|
|
407
406
|
if (key && presetErrors.includes(key)) {
|
|
@@ -2154,7 +2153,6 @@ class LibCommonInputTextComponent {
|
|
|
2154
2153
|
}
|
|
2155
2154
|
ngAfterViewChecked() {
|
|
2156
2155
|
this.changeDetection.markForCheck();
|
|
2157
|
-
console.log(this.control);
|
|
2158
2156
|
this.errorText = ValidatorsService.getErrorText(this.control?.errors);
|
|
2159
2157
|
}
|
|
2160
2158
|
get invalidState() {
|
|
@@ -4946,7 +4944,6 @@ class LibDateRangeComponent {
|
|
|
4946
4944
|
this.endDateStr = '';
|
|
4947
4945
|
}
|
|
4948
4946
|
this.onPeriodChange();
|
|
4949
|
-
console.error(errorMessage);
|
|
4950
4947
|
}
|
|
4951
4948
|
onPeriodChange() {
|
|
4952
4949
|
if (this.selectedPeriod.start && this.selectedPeriod.end) {
|