<AsyncSelectInput> expose generics of the underlying AsyncSelect
from react-select/async
component
#2963
Labels
🐛 Type: Bug
Something isn't working
The component
AsyncSelectInput
is hardcoding the generics thatAsyncSelect
fromreact-select/async
component exposes (see current ReactSelectAsyncProps type). Due to this fact, the consumers ofAsyncSelectInput
using TypeScript need to cast some of the props of the component. See this example in DIscounts app.To solve the issue,
AsyncSelectInput
,SearchSelectInput
, andSearchSelectField
should properly use the genericsreact-select/async
provides.The text was updated successfully, but these errors were encountered: