open-consul/ui/packages/consul-nspaces/app/components/consul/nspace/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
..
index.hbs Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
README.mdx ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00

# Consul::Nspace::SearchBar

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

```hbs preview-template
  <Consul::Nspace::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)

---