@suntelecoms/ngx-dynamic-form 1.7.15 → 1.7.16
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/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://angular.dev)
|
|
6
6
|
[](https://material.angular.io)
|
|
7
|
-
[](CHANGELOG.md)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
[](mailto:amadoumacbookpro38@gmail.com)
|
|
10
10
|
|
|
@@ -1247,11 +1247,16 @@ class DynamicFieldComponent {
|
|
|
1247
1247
|
}));
|
|
1248
1248
|
}
|
|
1249
1249
|
this.loadingOptions = false;
|
|
1250
|
+
// Réponse HTTP arrivée dans un callback async : sans ça, mat-select n'affiche le
|
|
1251
|
+
// libellé de la valeur déjà pré-remplie (mode édition) qu'au prochain cycle de
|
|
1252
|
+
// détection de changements déclenché par autre chose (ex: cliquer sur le select).
|
|
1253
|
+
this.cdr.markForCheck();
|
|
1250
1254
|
},
|
|
1251
1255
|
error: (err) => {
|
|
1252
1256
|
console.error(`[ngx-dynamic-form] Échec du chargement des options pour "${this.field.key}" (${url}):`, err);
|
|
1253
1257
|
this.resolvedOptions = [];
|
|
1254
1258
|
this.loadingOptions = false;
|
|
1259
|
+
this.cdr.markForCheck();
|
|
1255
1260
|
},
|
|
1256
1261
|
});
|
|
1257
1262
|
}
|