I have a searchable react-select field where I'm passing HTML into the label
value. Searching works prior to adding HTML, but after and understandably, it no longer works. Is there something specific I can do to repair the searchability while passing HTML to the label?
The answer to my original question (can you pass HTML to the label) was answered by this post: react-select escapes html chars
[
{ value: 'foo', label: <span dangerouslySetInnerHTML={{ __html: 'bar & foo' }} /> },
]