From 83fbe06ee849437867fecf7cf69728b57340cd4b Mon Sep 17 00:00:00 2001 From: Phil Renaud Date: Mon, 20 Jun 2022 16:39:16 -0400 Subject: [PATCH] Append an empty item when editing an existing Secure Variable (#13436) * Did-insert modifier to add an extra row when editing * Defensive logic on model existing * Defensive pattern on copy keyValues --- ui/app/components/secure-variable-form.hbs | 4 +++- ui/app/components/secure-variable-form.js | 12 +++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ui/app/components/secure-variable-form.hbs b/ui/app/components/secure-variable-form.hbs index 6d2868b4b..55bb34859 100644 --- a/ui/app/components/secure-variable-form.hbs +++ b/ui/app/components/secure-variable-form.hbs @@ -1,4 +1,6 @@ -
+ {{!-- TODO: {{if this.parseError 'is-danger'}} on inputs --}}