@indigina/ui-kit 1.1.477 → 1.1.478
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.
|
@@ -1054,7 +1054,7 @@ class KitFormErrors {
|
|
|
1054
1054
|
};
|
|
1055
1055
|
}
|
|
1056
1056
|
getErrors(control) {
|
|
1057
|
-
if (!control?.errors || !control.
|
|
1057
|
+
if (!control?.errors || !control.dirty) {
|
|
1058
1058
|
return [];
|
|
1059
1059
|
}
|
|
1060
1060
|
return Object.entries(control.errors)
|
|
@@ -1570,6 +1570,7 @@ class KitDropdownComponent {
|
|
|
1570
1570
|
this.selectedItem.set(item.value);
|
|
1571
1571
|
this.onChange(item.value);
|
|
1572
1572
|
this.selected.emit(item);
|
|
1573
|
+
this.onTouched();
|
|
1573
1574
|
}
|
|
1574
1575
|
writeValue(value) {
|
|
1575
1576
|
this.selectedItem.set(value);
|