mirror of https://github.com/status-im/consul.git
4d36e2b08e
Upgrade ember-composable-helpers to version 5.x. This version contains the pick-helper which makes composition in the template layer easier with Octane. {{!-- this is usually hard to do with Octane --}} <input {{on "input" (pick "target.value" this.updateText)}} .../> Version 5.x also fixes a regression with sort-by that according to @johncowen was the reason why the version was pinned to 4.0.0 at the moment. Version 5 of ember-composable-helpers removes the contains-helper in favor of includes which I changed all occurences for. |
||
---|---|---|
.. | ||
README.mdx | ||
index.hbs |
README.mdx
# Consul::Partition::SearchBar Searchbar tailored for searching Partitions. Follows our more generic '*::SearchBar' component interface. ```hbs preview-template <Consul::Partition::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) ---