ngx-render-material-forms 1.4.7 → 1.4.9
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.
- package/esm2020/lib/components/select/select.component.mjs +8 -3
- package/fesm2015/ngx-render-material-forms.js +7 -2
- package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
- package/fesm2020/ngx-render-material-forms.js +7 -2
- package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2810,8 +2810,13 @@ class MaterialSelectComponent extends MaterialComponent {
|
|
|
2810
2810
|
this.filteredOptions = this.selectOptions;
|
|
2811
2811
|
}
|
|
2812
2812
|
isError() {
|
|
2813
|
-
|
|
2814
|
-
|
|
2813
|
+
if (this.instance.error) {
|
|
2814
|
+
this.control.setErrors(this.instance.component.validate);
|
|
2815
|
+
return true;
|
|
2816
|
+
}
|
|
2817
|
+
else {
|
|
2818
|
+
return false;
|
|
2819
|
+
}
|
|
2815
2820
|
}
|
|
2816
2821
|
getErrorMessage() {
|
|
2817
2822
|
if (this.instance.error && this.instance.error.messages) {
|