According to the documentation, the customValue prop on the Select component should be optional and used only for customization. However, it is required to set it, or React will complain about elements in an array without a key prop.
The component needs something like:
const valueKey = customValue || 'value';
/* ... */
<option key={o[valueKey]} value={o[valueKey]}>
According to the documentation, the
customValueprop on the Select component should be optional and used only for customization. However, it is required to set it, or React will complain about elements in an array without akeyprop.The component needs something like: