@tetacom/ng-components 1.0.140 → 1.0.141
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/component/input/text-field/text-field.component.mjs +2 -2
- package/esm2020/util/forms-util.mjs +2 -1
- package/fesm2015/tetacom-ng-components.mjs +2 -1
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +2 -1
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/package.json +1 -1
- package/style/input.scss +1 -1
|
@@ -4177,7 +4177,7 @@ class TextFieldComponent {
|
|
|
4177
4177
|
}
|
|
4178
4178
|
keyPress(event) {
|
|
4179
4179
|
if (event.key === 'Enter' || event.keyCode === 13) {
|
|
4180
|
-
this.
|
|
4180
|
+
this.emitBlur();
|
|
4181
4181
|
}
|
|
4182
4182
|
}
|
|
4183
4183
|
emitBlur() {
|
|
@@ -6554,6 +6554,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
6554
6554
|
|
|
6555
6555
|
class FormsUtil {
|
|
6556
6556
|
static validateAllFormFields(formGroup) {
|
|
6557
|
+
formGroup.updateValueAndValidity();
|
|
6557
6558
|
Object.keys(formGroup.controls).forEach((field) => {
|
|
6558
6559
|
const control = formGroup.get(field);
|
|
6559
6560
|
if (control instanceof UntypedFormControl) {
|