From ac7904c27860929da1e796fdfc301f51b41b6c81 Mon Sep 17 00:00:00 2001 From: Angel Garbarino Date: Tue, 7 Jun 2022 10:03:32 -0600 Subject: [PATCH 1/9] wip --- ui/lib/core/addon/components/form-field.hbs | 28 ++- ui/lib/core/addon/components/string-list.hbs | 56 ++++++ ui/lib/core/addon/components/string-list.js | 188 +++++++----------- .../templates/components/string-list.hbs | 42 ---- ui/lib/core/package.json | 2 + ui/package.json | 2 +- ui/yarn.lock | 20 +- 7 files changed, 164 insertions(+), 174 deletions(-) create mode 100644 ui/lib/core/addon/components/string-list.hbs delete mode 100644 ui/lib/core/addon/templates/components/string-list.hbs diff --git a/ui/lib/core/addon/components/form-field.hbs b/ui/lib/core/addon/components/form-field.hbs index 161354cc6018..e5eb8804107e 100644 --- a/ui/lib/core/addon/components/form-field.hbs +++ b/ui/lib/core/addon/components/form-field.hbs @@ -195,14 +195,26 @@ {{/if}} {{else if (eq @attr.options.editType "stringArray")}} - + {{#if (eq @attr.name "tokenBoundCidrs")}} + {{! customize the tooltip for token_bound_cidrs }} + + {{else}} + + {{/if}} {{else if (eq @attr.options.sensitive true)}} {{! Masked Input }} + {{#if @label}} + + {{/if}} + {{#if @warning}} + + {{/if}} + {{#each this.inputList as |data index|}} +
+
+