Skip to content

Commit

Permalink
docs: Updated filterProperties with filterFields.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvikpatel18 committed Jan 23, 2025
1 parent 4148bb2 commit c82775a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/combobox-control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function MyComboboxControl() {
value={ fontSize }
onChange={ setFontSize }
options={ filteredOptions }
filterProperties={ ['value', 'label'] }
filterFields={ ['value', 'label'] }
onFilterValueChange={ ( inputValue ) =>
setFilteredOptions(
options.filter( ( option ) =>
Expand Down Expand Up @@ -92,7 +92,7 @@ Function called when the control's search input value changes. The argument cont
- Type: `( value: string ) => void`
- Required: No
#### filterProperties
#### filterFields
The list of option properties that should be used for filtering the options.
Expand Down

0 comments on commit c82775a

Please sign in to comment.