CollectionFilterPanel は、Collection フィルターパネルをページに埋め込むためのコンポーネントです。
CollectionFilterPanel
import { CollectionFilterPanel, type CollectionFilterPanelRef } from '@nocobase/client-v2'; const ref = useRef<CollectionFilterPanelRef>(null); <CollectionFilterPanel ref={ref} collection={collection} t={t} />; const filter = ref.current?.getFilter();
collection
initialValue
Record<string, unknown>
onChange
(filter) => void
t
(key, options?) => string
filterableFieldNames
string[]
nonfilterableFieldNames
noIgnore
boolean
getFilter()
reset()