open-consul/ui/packages/consul-partitions/app/components/consul/partition/search-bar
Ronald 6bcb98ea71
Add UI copyright headers files (#16614)
* Add copyright headers to UI files

* Ensure copywrite file ignores external libs
2023-03-14 09:18:55 -04:00
..
README.mdx ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
index.hbs Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00

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)

---