Skip to content

devforth/adminforth-universal-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributors 2

  •  
  •