From ba44780df0d6ae41ab1a2e3ba70ad1f66205bcff Mon Sep 17 00:00:00 2001 From: Manuel Mtz-Almeida Date: Tue, 25 Apr 2017 22:55:13 +0200 Subject: [PATCH] fix(select): stores string | string[] fixes #11337 --- src/components/select/select.ts | 17 ++++++----------- src/components/select/test/select.spec.ts | 2 +- src/util/base-input.ts | 17 +++++++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/components/select/select.ts b/src/components/select/select.ts index b5d4acfaba6..19da56ae246 100644 --- a/src/components/select/select.ts +++ b/src/components/select/select.ts @@ -147,12 +147,13 @@ import { SelectPopover, SelectPopoverOption } from './select-popover-component'; providers: [ { provide: NG_VALUE_ACCESSOR, useExisting: Select, multi: true } ], encapsulation: ViewEncapsulation.None, }) -export class Select extends BaseInput implements AfterViewInit, OnDestroy { +export class Select extends BaseInput implements AfterViewInit, OnDestroy { _multi: boolean = false; _options: QueryList