It would be useful to set the autoComplete prop to the search input element, but the autoComplete doesn't exist in the SelectPros interface.
The weird thing is that if you pass autoComplete it works, even with the Typescript error.
see https://codesandbox.io/s/select-autocomple-ghpxbm-ghpxbm?file=/App.tsx
It would be useful to set the
autoCompleteprop to the search input element, but theautoCompletedoesn't exist in theSelectProsinterface.The weird thing is that if you pass
autoCompleteit works, even with the Typescript error.see https://codesandbox.io/s/select-autocomple-ghpxbm-ghpxbm?file=/App.tsx