github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/components/variable-form/input-group.hbs (about)

     1  <label class="value-label">
     2    <span>
     3      Value
     4    </span>
     5    <Input
     6      @type={{this.inputType}}
     7      @value={{@entry.value}}
     8      class="input value-input"
     9      {{! prevent auto-fill }}
    10      autocomplete="new-password"
    11      data-test-var-value
    12    />
    13    <button
    14      class="show-hide-values button is-light"
    15      type="button"
    16      tabindex="-1"
    17      {{on "click" this.toggleInputType}}
    18    >
    19      <FlightIcon
    20        @name={{if this.isObscured "eye-off" "eye"}}
    21        @title={{if this.isObscured "Show Value" "Hide Value"}}
    22      />
    23    </button>
    24  </label>