{{!
  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>