@esfaenza/forms-and-validations 15.2.33 → 15.2.34
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-date/form-date.component.mjs +7 -3
- package/fesm2015/esfaenza-forms-and-validations.mjs +6 -2
- package/fesm2015/esfaenza-forms-and-validations.mjs.map +1 -1
- package/fesm2020/esfaenza-forms-and-validations.mjs +6 -2
- package/fesm2020/esfaenza-forms-and-validations.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3108,8 +3108,12 @@ class FormDateComponent extends BaseFormControl {
|
|
|
3108
3108
|
super.writeValue(obj);
|
|
3109
3109
|
}
|
|
3110
3110
|
changed() {
|
|
3111
|
-
|
|
3112
|
-
|
|
3111
|
+
let newlyEvaluatedModel = this.Model ? this.datesExts.getFormatted(this.Model, true, false) : '';
|
|
3112
|
+
// Evito che l'inputChange lato html mi faccia sparare fuori dai changed finti. L'input cambia solo quando cambia il modello presentato
|
|
3113
|
+
if (newlyEvaluatedModel != this.EvaluatedModel) {
|
|
3114
|
+
this.EvaluatedModel = newlyEvaluatedModel;
|
|
3115
|
+
super.changed(null, false, true);
|
|
3116
|
+
}
|
|
3113
3117
|
}
|
|
3114
3118
|
/** @ignore */
|
|
3115
3119
|
onNotNullValueSet() { }
|