Compare commits

..

2 Commits

Author SHA1 Message Date
Igor Hrenowitsch Propisnov 235edd247c validate field on touch 2024-08-22 13:29:23 +02:00
Igor Hrenowitsch Propisnov 68c21f3675 update import 2024-08-22 13:25:23 +02:00
3 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import {
} from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { StepperIndicatorComponent } from '../../../shared/components/stepper-indicator/stepper-indicator.component';
import { StepperIndicatorComponent } from '../../../shared/components';
import { BasicStepComponent } from './steps/basic-step.component';
import { TicketsStepComponent } from './steps/tickets-step.component';

View File

@ -208,12 +208,13 @@ export class DropdownComponent implements ControlValueAccessor, Validator {
public onFocus(): void {
this.filteredItems.set(this.items());
this.markAsTouched();
}
public onBlur(): void {
if (!this.isMouseInDropdown) {
if (!this.isMouseInDropdown()) {
this.closeDropdown();
this.onTouched();
this.markAsTouched();
}
}

View File

@ -1 +1,2 @@
export * from './dropdown/dropdown.component';
export * from './stepper-indicator/stepper-indicator.component';