Closed
Description
I'm trying to set a class in the generated select2 dropdown container via the dropdownCssClass
option.
E.g.
<Select2
...
options={{
dropdownCssClass: 'my-class-name',
}}
/>
I read that this option requires the full version of select2 to work.
I'm able to get it working by changing the code on line 29 of /react-select2-wrapper/lib/components/Select2.js from:
require('select2');
to:
require('select2/dist/js/select2.full');
Is there any way I can tell react-select2-wrapper to use the full version without hacking the package?
Thanks
Metadata
Metadata
Assignees
Labels
No labels