Skip to content

Commit

Permalink
fix(input): pass the mode class in input-base
Browse files Browse the repository at this point in the history
references #8545
  • Loading branch information
brandyscarney committed Nov 14, 2016
1 parent f47675d commit 96d4cf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/input/input-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class InputBase extends Ion {
nav: NavController,
ngControl: NgControl
) {
super(config, elementRef, renderer);
super(config, elementRef, renderer, 'input');

this._nav = <NavControllerBase>nav;
this._useAssist = config.getBoolean('scrollAssist', false);
Expand Down
4 changes: 2 additions & 2 deletions src/components/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class TextInput extends InputBase {
*/
@Input()
set mode(val: string) {
this._setMode('input', val);
this._setMode(val);
}

/**
Expand Down Expand Up @@ -336,7 +336,7 @@ export class TextArea extends InputBase {
*/
@Input()
set mode(val: string) {
this._setMode('input', val);
this._setMode(val);
}

/**
Expand Down

0 comments on commit 96d4cf6

Please sign in to comment.