You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rendering a select with a generic argument <Select<string> /> results in Expected 0 type arguments, but got 1.ts(2558) error.
Additionally, the implicit value type is unknown, resulting in (_: unknown) => void | undefined type for onChange prop.
Expected behavior
Allow specifying a generic argument for the Select component.
This might have been caused by #1615. Need to investigate further.
Confirmed, It is caused due to this #1615. For testing, I replaced the code we had earlier and it worked. But I guess we still need to pass the ref right?
Describe the bug (actual behavior)
Rendering a select with a generic argument
<Select<string> />
results inExpected 0 type arguments, but got 1.ts(2558)
error.Additionally, the implicit value type is
unknown
, resulting in(_: unknown) => void | undefined
type foronChange
prop.Expected behavior
Allow specifying a generic argument for the
Select
component.Additional information
Version 3.2.1
The text was updated successfully, but these errors were encountered: