Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/react-aria-components/src/ComboBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ export interface ComboBoxProps<T, M extends SelectionMode = 'single'>
* @default 'react-aria-ComboBox'
*/
className?: ClassNameOrFunction<ComboBoxRenderProps>;
/** The filter function used to determine if a option should be included in the combo box list. */
/**
* The filter function used to determine if an option should be included in the combo box list.
* By default, a "contains" filter from `useFilter` is used.
Comment thread
snowystinger marked this conversation as resolved.
Outdated
*/
defaultFilter?: (textValue: string, inputValue: string) => boolean;
/**
* Whether the text or key of the selected item is submitted as part of an HTML form. When
Expand Down