Files
vault/ui/lib/core/addon/components/input-search.hbs
Angel Garbarino 18d694fd06 KV - no list permissions error catch (#22670)
* initial fix. need to clear out local storage to see it work.

* first draft

* clean up

* test fix

* add test coverage

* pairing to do clean up

* update tests
2023-09-01 09:27:36 -06:00

24 lines
548 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: BUSL-1.1
~}}
<div class="field is-grouped" ...attributes>
<div class="control is-expanded">
{{#if @label}}
<label for={{@id}} class="is-label">{{@label}}</label>
{{/if}}
{{#if @subText}}
<p class="sub-text">{{@subText}}</p>
{{/if}}
<Input
id={{@id}}
class="input"
@type="text"
@value={{this.searchInput}}
{{on "keyup" this.inputChanged}}
placeholder={{@placeholder}}
autocomplete="off"
/>
</div>
</div>