Wagtail client-side components
    Preparing search index...
    • Find all items where a search field matches the input.

      Type Parameters

      • T extends object

      Parameters

      • items: T[]
      • getSearchFields: (item: T) => (undefined | null | string)[]
      • input: string

      Returns T[]