Skip to content

Commit

Permalink
Fixed #14377 - Dropdown | Unable to type spaces in editable dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Dec 20, 2023
1 parent 9c1becf commit a8a0181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV
}

onSpaceKey(event: KeyboardEvent, pressedInInputText: boolean = false) {
!pressedInInputText && this.onEnterKey(event);
!this.editable && !pressedInInputText && this.onEnterKey(event);
}

onEnterKey(event) {
Expand Down

0 comments on commit a8a0181

Please sign in to comment.