You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
marcopiii
changed the title
Bug: a SelectField's option with icon undefined crashes the app
Bug: a SelectField's option with icon: undefined crashes the app
Feb 13, 2025
Description of the bug
The
SelectOption
used bySelectField
has the propertyicon?: (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, likeTabs
.Playroom reproduction
A Playroom example with SelectField
A Playroom example with Tabs
Version
0.22.6
What browsers are you seeing the problem on?
Chrome
The text was updated successfully, but these errors were encountered: