Feature: Create Event - First Step Frontend #17
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue