ngx-render-material-forms 2.5.9 → 2.5.10
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/MaterialComponent.mjs +5 -2
- package/fesm2015/ngx-render-material-forms.js +5 -1
- package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
- package/fesm2020/ngx-render-material-forms.js +4 -1
- package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -337,7 +337,10 @@ class MaterialComponent {
|
|
|
337
337
|
}
|
|
338
338
|
if (this.input) {
|
|
339
339
|
// Set the input masks.
|
|
340
|
-
this.instance
|
|
340
|
+
const inputMask = this.instance?.component?.inputMask;
|
|
341
|
+
if (typeof inputMask === 'string' && inputMask.length > 0) {
|
|
342
|
+
this.instance.setInputMask(this.input.nativeElement);
|
|
343
|
+
}
|
|
341
344
|
this.instance.addFocusBlurEvents(this.input.nativeElement);
|
|
342
345
|
}
|
|
343
346
|
}
|