Skip to content

Commit

Permalink
fix autocomplete onupdate type - it's optional
Browse files Browse the repository at this point in the history
  • Loading branch information
MikesGlitch committed Oct 7, 2023
1 parent 85d4cc5 commit d1bbdd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ type SingleAutocompleteProps = {
openOnFocus?: boolean;
getHighlightedIndex?: (suggestions) => number | null;
highlightFirst?: boolean;
onUpdate: (id: unknown, value: string) => void;
onUpdate?: (id: unknown, value: string) => void;
strict?: boolean;
onSelect: (id: unknown, value: string) => void;
tableBehavior?: boolean;
Expand Down

0 comments on commit d1bbdd6

Please sign in to comment.