From dd8f05b502f343a70d47cda80e74482c0b412aa7 Mon Sep 17 00:00:00 2001 From: Allison Gruninger Date: Tue, 5 Dec 2017 14:56:06 -0800 Subject: [PATCH] update pickerInputs --- .../app/function/binding-input-v2/binding-input-v2.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AzureFunctions.AngularClient/src/app/function/binding-input-v2/binding-input-v2.component.ts b/AzureFunctions.AngularClient/src/app/function/binding-input-v2/binding-input-v2.component.ts index 0ed287ab25..c0c1a4dde6 100644 --- a/AzureFunctions.AngularClient/src/app/function/binding-input-v2/binding-input-v2.component.ts +++ b/AzureFunctions.AngularClient/src/app/function/binding-input-v2/binding-input-v2.component.ts @@ -271,6 +271,8 @@ export class BindingInputV2Component { this.input.value = appSettingName; if (!existedAppSetting) { picker.items.splice(0, 0, this.input.value); + this.pickerInputs = picker.items + .map(p => ({ displayLabel: p, value: p})); } this.inputChanged(name); this.setClass(appSettingName);