Skip to content

Commit

Permalink
docs(list): make filterPredicate property optional. (#11124)
Browse files Browse the repository at this point in the history
**Related Issue:** #6544

## Summary

docs(list): make filterPredicate property optional.

BEGIN_COMMIT_OVERRIDE
END_COMMIT_OVERRIDE
  • Loading branch information
driskull authored Dec 20, 2024
1 parent 1553fc5 commit 807c002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/calcite-components/src/components/list/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class List
* return myListItem.label.includes("someValue");
* };
*/
@property() filterPredicate: (item: ListItem["el"]) => boolean;
@property() filterPredicate?: (item: ListItem["el"]) => boolean;

/** Specifies an accessible name for the filter input field. */
@property({ reflect: true }) filterLabel: string;
Expand Down

0 comments on commit 807c002

Please sign in to comment.