select
select copied to clipboard
OptionFilterProp should default to the label specified in FieldNames
if fieldNames is used to map a label prop AND no optionFilterProp is provided (i.e. default is label) then optionFilterProp should search the label specified by fieldNames.
I find myself doing this:
<Select
optionFilterProp="displayName"
fieldNames={{
label:'displayName',
value:'id'
}}
/>
Ideally, I just want to do this:
<Select
fieldNames={{
label:'displayName',
value:'id'
}}
/>