@esfaenza/forms-and-validations 15.2.52 → 15.2.53
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/forms/form-adaptive/form-adaptive.component.mjs +4 -1
- package/fesm2015/esfaenza-forms-and-validations.mjs +3 -0
- package/fesm2015/esfaenza-forms-and-validations.mjs.map +1 -1
- package/fesm2020/esfaenza-forms-and-validations.mjs +3 -0
- package/fesm2020/esfaenza-forms-and-validations.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2652,6 +2652,9 @@ class FormAdaptiveComponent extends BaseFormControl {
|
|
|
2652
2652
|
if (!control.value) {
|
|
2653
2653
|
return null;
|
|
2654
2654
|
}
|
|
2655
|
+
// Caricamento avvenuto adesso da modello
|
|
2656
|
+
if (control.value && !this.floatValuePreAdjustmente)
|
|
2657
|
+
this.floatValuePreAdjustmente = control.value.toString().replace(".", ",");
|
|
2655
2658
|
return regex.test(this.floatValuePreAdjustmente) ? null : { 'pattern': { 'requiredPattern': regexStr, 'actualValue': this.floatValuePreAdjustmente } };
|
|
2656
2659
|
};
|
|
2657
2660
|
}
|