open-consul/ui/packages/consul-ui/app/components/consul/peer/search-bar
John Cowen 8c0da8fdfb
ui: Peer Deletion (#13665)
* ui: Peer Deletion (#13665)
* ui: Add sorting peer listing by State (#13684)
* ui: Add filtering peer listing by State (#13685)
2022-07-07 18:23:26 +01:00
..
README.mdx ui: Add peer searching and sorting (#13634) 2022-07-04 11:31:58 +01:00
index.hbs ui: Peer Deletion (#13665) 2022-07-07 18:23:26 +01:00
index.scss ui: Peer Deletion (#13665) 2022-07-07 18:23:26 +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='Name:asc'
      change=(noop)
    }}

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

## See

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

---