mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user