From 9c1b04003a72b76c4d05151d3e003c620e52c6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Wed, 19 Aug 2020 17:57:09 +0200 Subject: [PATCH] fix(core): add type `search` to `getInputProps` --- src/SearchBox.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/SearchBox.tsx b/src/SearchBox.tsx index 49071cb5..1b97e0fd 100644 --- a/src/SearchBox.tsx +++ b/src/SearchBox.tsx @@ -59,7 +59,6 @@ export function SearchBox(props: SearchBoxProps) { ref={props.inputRef} {...props.getInputProps({ inputElement: props.inputRef.current!, - type: 'search', autoFocus: props.autoFocus, maxLength: MAX_QUERY_SIZE, })}