@verisoft/ui-primeng 20.1.2 → 20.2.0
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.
|
@@ -102,6 +102,10 @@ const Icons = {
|
|
|
102
102
|
check: 'pi pi-check',
|
|
103
103
|
envelope: 'pi pi-envelope',
|
|
104
104
|
loader: 'pi pi-loader',
|
|
105
|
+
file: 'pi pi-file',
|
|
106
|
+
map: 'pi pi-map',
|
|
107
|
+
arrowCounterclockwise: '',
|
|
108
|
+
folder: '',
|
|
105
109
|
};
|
|
106
110
|
|
|
107
111
|
class FormFieldComponent extends BaseFormInputComponent {
|
|
@@ -1724,7 +1728,9 @@ function generateFormGroup(fields, lastGroupValue, inputGroup, inputGroupChanged
|
|
|
1724
1728
|
formGroup.addControl(field.name, new UntypedFormControl(field.value, field.validator));
|
|
1725
1729
|
}
|
|
1726
1730
|
else if (control && control.value !== field.value) {
|
|
1727
|
-
|
|
1731
|
+
if ('value' in field) {
|
|
1732
|
+
control.setValue(field.value);
|
|
1733
|
+
}
|
|
1728
1734
|
control.setValidators(field.validator ?? null);
|
|
1729
1735
|
}
|
|
1730
1736
|
else {
|