diff --git a/src/components/input/input-base.ts b/src/components/input/input-base.ts index 8cc039bd558..f9c80914527 100644 --- a/src/components/input/input-base.ts +++ b/src/components/input/input-base.ts @@ -46,7 +46,7 @@ export class InputBase extends Ion { nav: NavController, ngControl: NgControl ) { - super(config, elementRef, renderer); + super(config, elementRef, renderer, 'input'); this._nav = nav; this._useAssist = config.getBoolean('scrollAssist', false); diff --git a/src/components/input/input.ts b/src/components/input/input.ts index 24870711b1a..95ace7a45cd 100644 --- a/src/components/input/input.ts +++ b/src/components/input/input.ts @@ -157,7 +157,7 @@ export class TextInput extends InputBase { */ @Input() set mode(val: string) { - this._setMode('input', val); + this._setMode(val); } /** @@ -336,7 +336,7 @@ export class TextArea extends InputBase { */ @Input() set mode(val: string) { - this._setMode('input', val); + this._setMode(val); } /**