Skip to content

devforth/adminforth-universal-search

Repository files navigation

Universal Filters

Lightweight plugin adding one debounced search input to the List view (injection point: beforeActionButtons). It builds a single OR filter across configured columns.

Install

npm install @adminforth/universal-search

Usage

import UniversalFiltersPlugin from '@adminforth/universal-search';

plugins: [
  new UniversalFiltersPlugin({
    columns: [
      { name: 'title' },
      { name: 'description' },
      { name: 'country', caseSensitive: true },
      { name: 'price', exact: true },
    ],
    debounceMs: 400,
  })
]

Full docs & advanced options: see AdminForth docs (Plugins -> Universal Filters).

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published