Hello,
I’m using Mobiscroll 5.27.1 for React, and I’m trying to filter a Select. However the option text is JSX elements, rather than just plain text. This means the filtering does nothing. Below is how each option is rendered:
{
text: (
<div className='job-option'>
<div>{job.number + ': ' + job.name}</div>
</div>
),
value: '123456'
},
What is the best way to filter the options when each option’s text is a JSX element like above?
Thank you,
Seb