Closed jabdali closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Available since v4.10.0
Hi, how do i use it in react. the property selectAll doesn't exist. thanks
https://react-dropdown-select.netlify.app/examples#With-select/clear-all
On Mon, 19 Feb 2024 at 9:52 AM aashish @.***> wrote:
Hi, how do i use it in react. the property selectAll doesn't exist. thanks
— Reply to this email directly, view it on GitHub https://github.com/sanusart/react-dropdown-select/issues/251#issuecomment-1951881637, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACBLRQI4GUTP6CCX7PBRFTYUMAEHAVCNFSM6AAAAAAR3UPKQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRHA4DCNRTG4 . You are receiving this because you modified the open/close state.Message ID: @.***>
It's not working in react vite and typescript. I am getting this err..
Type '{ multi: true; selectAll: true; selectAllLabel: string; clearAllLabel: string; className: string; wrapperClassName: string; clearable: true; options: { value: number; label: string; }[]; values: { value: number; label: string; }[]; onChange: (values: { ...; }[]) => void; }' is not assignable to type 'IntrinsicAttributes & SelectProps<{ value: number; label: string; }>'. Property 'selectAll' does not exist on type 'IntrinsicAttributes & SelectProps<{ value: number; label: string; }>'. Did you mean 'onSelectAll'?ts(2322)
Should be fixed via v4.11.2
I wonder if "Select All" feature is supported to allow selecting all the options with one click?