Feature: Create Event - First Step Frontend #17
|
@ -208,12 +208,13 @@ export class DropdownComponent implements ControlValueAccessor, Validator {
|
||||||
|
|
||||||
public onFocus(): void {
|
public onFocus(): void {
|
||||||
this.filteredItems.set(this.items());
|
this.filteredItems.set(this.items());
|
||||||
|
this.markAsTouched();
|
||||||
}
|
}
|
||||||
|
|
||||||
public onBlur(): void {
|
public onBlur(): void {
|
||||||
if (!this.isMouseInDropdown) {
|
if (!this.isMouseInDropdown()) {
|
||||||
this.closeDropdown();
|
this.closeDropdown();
|
||||||
this.onTouched();
|
this.markAsTouched();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue