1
0
Fork 0

fix(core): add type search to getInputProps

This commit is contained in:
François Chalifour 2020-08-19 17:57:09 +02:00
parent 4e059a2b81
commit 9c1b04003a

View file

@ -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,
})}