fix(components): add a mode agnostic css class (#9133)

Fixes #8545
This commit is contained in:
Alan
2016-11-14 13:50:01 -05:00
committed by Brandy Carney
parent d3ef28d3ec
commit 025c5cc646
30 changed files with 148 additions and 186 deletions

View File

@ -195,7 +195,7 @@ export class Select extends Ion implements AfterContentInit, ControlValueAccesso
*/
@Input()
set mode(val: string) {
this._setMode('select', val);
this._setMode(val);
}
/**
@ -217,9 +217,7 @@ export class Select extends Ion implements AfterContentInit, ControlValueAccesso
@Optional() public _item: Item,
@Optional() private _nav: NavController
) {
super(config, elementRef, renderer);
this.mode = config.get('mode');
super(config, elementRef, renderer, 'select');
_form.register(this);