github.com/hernad/nomad@v1.6.112/ui/app/components/variable-form/input-group.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  <label class="value-label">
     7    <span>
     8      Value
     9    </span>
    10    <Input
    11      @type={{this.inputType}}
    12      @value={{@entry.value}}
    13      class="input value-input"
    14      {{! prevent auto-fill }}
    15      autocomplete="new-password"
    16      data-test-var-value
    17    />
    18    <button
    19      class="show-hide-values button is-light"
    20      type="button"
    21      tabindex="-1"
    22      {{on "click" this.toggleInputType}}
    23    >
    24      <FlightIcon
    25        @name={{if this.isObscured "eye-off" "eye"}}
    26        @title={{if this.isObscured "Show Value" "Hide Value"}}
    27      />
    28    </button>
    29  </label>