SettingDefinitionGroup.search?
SettingDefinitionGroup › search?
Official
Type: {
/**
* Placeholder text for the search input.
* @public
* @since 1.13.1
*/
placeholder?: string;
/**
* Predicate called for each direct child definition of this group.
* Return true to show the item, false to hide. Items with
* searchable: false bypass this filter and always show.
* @public
* @since 1.13.1
*/
match: (def: SettingDefinition, query: string) => boolean;
}
match(def, query). The query is preserved across re-renders and the filter is reapplied after each render. Since: 1.13.1