Skip to content

Commit

Permalink
fix: make filter readonly if not searchable
Browse files Browse the repository at this point in the history
  • Loading branch information
anjmao committed Jan 18, 2018
1 parent 8eae655 commit 5110e16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ng-select/ng-select.component.html
Expand Up @@ -20,6 +20,7 @@
<div *ngIf="showFilter()" class="ng-input">
<input #filterInput
type="text"
[readOnly]="!searchable"
[value]="filterValue"
(input)="onFilter(filterInput.value)"
(focus)="onInputFocus($event)"
Expand Down

0 comments on commit 5110e16

Please sign in to comment.