From 9657e48a68febc0381a68956d781974e37e02fab Mon Sep 17 00:00:00 2001 From: crisbeto Date: Thu, 2 Mar 2017 00:41:48 +0100 Subject: [PATCH] fix: remove array literal from template --- src/demo-app/select/select-demo.html | 2 +- src/demo-app/select/select-demo.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/demo-app/select/select-demo.html b/src/demo-app/select/select-demo.html index c4908e9b42e5..f5cddc897323 100644 --- a/src/demo-app/select/select-demo.html +++ b/src/demo-app/select/select-demo.html @@ -43,7 +43,7 @@

Touched: {{ pokemonControl.touched }}

Dirty: {{ pokemonControl.dirty }}

Status: {{ pokemonControl.control?.status }}

- + diff --git a/src/demo-app/select/select-demo.ts b/src/demo-app/select/select-demo.ts index 02b0c6e3ec6a..04813bdae4e9 100644 --- a/src/demo-app/select/select-demo.ts +++ b/src/demo-app/select/select-demo.ts @@ -51,4 +51,8 @@ export class SelectDemo { toggleDisabled() { this.foodControl.enabled ? this.foodControl.disable() : this.foodControl.enable(); } + + setPokemonValue() { + this.currentPokemon = ['eevee-4', 'psyduck-6']; + } }