.. | ||
index.hbs | ||
index.scss | ||
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) ---