Skip to content

Commit

Permalink
fix(module: searchbar): fix ios9 chinese character bug (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
sWhite01111 authored and fisherspy committed Jan 16, 2019
1 parent 55244a0 commit 3e7efd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/search-bar/search-bar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
[disabled]="disabled"
[maxlength]="maxLength"
[placeholder]="placeholder"
[(ngModel)]="value"
[ngModel]="value"
(blur)="onSearchbarBlur()"
(focus)="onSearchbarFocus()"
(ngModelChange)="onSearchbarChange($event)"
Expand Down
1 change: 1 addition & 0 deletions components/search-bar/search-bar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ export class SearchBar implements OnInit, AfterViewInit, AfterViewChecked, OnDes

onSearchbarChange(e) {
this._focus = true;
this._value = e;
this.onChange.emit(e);
this.onChangeFn(e);
this.setClass();
Expand Down

0 comments on commit 3e7efd4

Please sign in to comment.