hc-oss / react-multi-select-component

Lightweight (~5KB gzipped) multiple selection dropdown component
https://codesandbox.io/s/react-multi-select-example-uqtgs
MIT License
387 stars 89 forks source link

"Name" property of the Component #709

Open mosope02 opened 1 year ago

mosope02 commented 1 year ago

I can't seem to find how to use a name property for this component as one would do with a basic HTML form element

Describe the solution you'd like I'd like to be able to add the "name" property e.g <MultiSelect name='categories' options={categories} onChange={handleChange} hasSelectAll={false} disableSearch labelledBy='label' />