select
select copied to clipboard
tagRender option and tag wrapper
Hello! I have a component extending the Select with tags mode enabled.
I'd like to have a regular tag wrapper, but just change the inside of the tag.
Unfortunately the wrapper is not the same when we use the tagRender
option and there is now way to control it.
It is: https://github.com/react-component/select/blob/51df020dfd72524892e0569ab02d4f536b53cc67/src/Selector/MultipleSelector.tsx#L146
Instead of: https://github.com/react-component/select/blob/51df020dfd72524892e0569ab02d4f536b53cc67/src/Selector/MultipleSelector.tsx#L156-L162
I would need it to be always like the second one. Without the onMouseDown
event and with the proper className
.
Any reason why the current implementation is like that ?
Thanks