@tetacom/ng-components 1.0.92 → 1.0.93
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.
|
@@ -6493,7 +6493,7 @@ class FormsUtil {
|
|
|
6493
6493
|
return validators;
|
|
6494
6494
|
}
|
|
6495
6495
|
static validatorNotEmpty(control) {
|
|
6496
|
-
if (control.value?.trim()?.length <= 0) {
|
|
6496
|
+
if (control.value?.toString()?.trim()?.length <= 0) {
|
|
6497
6497
|
return { required: true };
|
|
6498
6498
|
}
|
|
6499
6499
|
return null;
|