Open
Description
Description of the bug
The SelectOption
used by SelectField
has the property icon?: (props: IconProps) => JSX.Element
.
If you define an option with icon: undefined
, when it gets selected the error "ne.icon is not a function" occurs. It doesn't happen with other components, like Tabs
.
Playroom reproduction
A Playroom example with SelectField
Version
0.22.6
What browsers are you seeing the problem on?
Chrome