Property "values" is missing
jin-yee opened this issue · 1 comments
jin-yee commented
I cannot get this working by referring to the basic, minimum working example from md file. The error shows up is
Property 'values' is missing in type '{ options: {}[]; onChange: { (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }; }' but required in type 'SelectProps<{}>'.
I'm using React (18.0.28) with Typescript, the react-dropdown-select library is of version 4.9.3.
sanusart commented
Seem to be working fine on code sandbox
https://codesandbox.io/s/pensive-tom-xu21qj?file=/src/App.js
…On Thu, Feb 16, 2023 at 9:27 AM jin-yee ***@***.***> wrote:
I cannot get this working by referring to the basic, minimum working
example from md file. The error shows up is
Property 'values' is missing in type '{ options: {}[]; onChange: {
(...data: any[]): void; (message?: any, ...optionalParams: any[]): void; };
}' but required in type 'SelectProps<{}>'.
[image: image]
<https://user-images.githubusercontent.com/23400320/219296496-289aa309-546f-4e92-9973-e076da6b80d2.png>
I'm using React (18.0.28) with Typescript, the react-dropdown-select
library is of version 4.9.3.
—
Reply to this email directly, view it on GitHub
<#269>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACBLRXDSNISLG7GVXPTUGLWXXJGBANCNFSM6AAAAAAU5ZKOEY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>