Skip to content

Commit

Permalink
Fixed primefaces#6779 : Removed toLowerCase() method since objectUtil…
Browse files Browse the repository at this point in the history
… is converting to lowercase in filter method
  • Loading branch information
dinesh committed Nov 29, 2018
1 parent 146e343 commit f3909d0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -868,9 +868,8 @@ export class Dropdown implements OnInit,AfterViewInit,AfterContentInit,AfterView
}

onFilter(event): void {
let inputValue = event.target.value.toLowerCase();
if (inputValue && inputValue.length) {
this.filterValue = inputValue;
if ( event.target.value && event.target.value.length) {
this.filterValue = event.target.value;
this.activateFilter();
}
else {
Expand Down

0 comments on commit f3909d0

Please sign in to comment.