open-consul/ui/packages/consul-peerings/app/components/consul/peer/search-bar
John Cowen 2b9250b00b
ui: Move peers to a subapplication (#13725)
2022-07-14 11:22:45 +01:00
..
README.mdx ui: Move peers to a subapplication (#13725) 2022-07-14 11:22:45 +01:00
index.hbs ui: Move peers to a subapplication (#13725) 2022-07-14 11:22:45 +01:00
index.scss ui: Move peers to a subapplication (#13725) 2022-07-14 11:22:45 +01:00

README.mdx

# Consul::Peer::SearchBar

Searchbar tailored for searching Peers. Follows our more generic
'*::SearchBar' component interface.

```hbs preview-template
  <Consul::Peer::SearchBar
    @search={{this.search}}
    @onsearch={{fn (mut this.search) value="target.value"}}

    @sort={{hash
      value='State:asc'
      change=(noop)
    }}

    @filter={{hash
      state=(hash
        value=(array "PENDING")
        change=(noop)
      )
      searchproperty=(hash
        value=(array)
        change=(noop)
        default=(array)
      )
    }}
  />
```

## See

- [Template Source Code](./index.hbs)

---