Skip to content

Commit

Permalink
fix(core): allow null inputElement in getInputProps
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Nov 23, 2020
1 parent fe5db0c commit 75b990a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/autocomplete-core/src/types/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export type GetLabelProps = (props?: {

export type GetInputProps<TEvent, TMouseEvent, TKeyboardEvent> = (props: {
[key: string]: unknown;
inputElement: HTMLInputElement;
inputElement: HTMLInputElement | null;
maxLength?: number;
}) => {
id: string;
Expand Down

0 comments on commit 75b990a

Please sign in to comment.