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

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