Skip to content

Commit

Permalink
fix: Combobox crashing when optional prop inputProps isn’t provided (
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmar authored Mar 1, 2023
1 parent 1083409 commit f727697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ComboBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function ComboBox({
placement,
width,
maxHeight,
inputProps: outerInputProps,
inputProps: outerInputProps = {},
...props
}: ComboBoxProps) {
const nextFocusedKeyRef = useRef<Key>(null)
Expand Down

0 comments on commit f727697

Please sign in to comment.