@verisoft/ui-primeng 20.1.2 → 20.1.3
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.
|
@@ -1724,7 +1724,9 @@ function generateFormGroup(fields, lastGroupValue, inputGroup, inputGroupChanged
|
|
|
1724
1724
|
formGroup.addControl(field.name, new UntypedFormControl(field.value, field.validator));
|
|
1725
1725
|
}
|
|
1726
1726
|
else if (control && control.value !== field.value) {
|
|
1727
|
-
|
|
1727
|
+
if ('value' in field) {
|
|
1728
|
+
control.setValue(field.value);
|
|
1729
|
+
}
|
|
1728
1730
|
control.setValidators(field.validator ?? null);
|
|
1729
1731
|
}
|
|
1730
1732
|
else {
|