{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: MPL-2.0
}}

<div
  class="freetext-filter"
  ...attributes
>
  <label class="type-search">
    <span class="freetext-filter_label">Search</span>
    <input
      class="freetext-filter_input"
      type="search"
      onsearch={{action this.change}}
      oninput={{action this.change}}
      onkeydown={{action this.keydown}}
      name="s" value={{@value}}
      placeholder={{this.placeholder}}
      autofocus="autofocus"
    />
  </label>
  {{yield}}
</div>