I am using Atlaskit to develop a jira plugin.
In the Select options, ‘label’ field is shown in the dropdown box, ‘value’ field is passed when you select.
But when I search the results in the select box, the results are filtered by both label and value. What should I do if i just want the results are searched by ‘label’?
Thanks.
The problem is shown below:
<Select
{...rest}
placeholder=''
options={[
{ label: 'Adelaide', value: 'id1' },
{ label: 'Brisbane', value: 'id2' },
{ label: 'Canberra', value: 'id3' },
]}
/>