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 idea is to have some extra "control data" for those components. From what I’ve been able to observe and analyze, there doesn’t seem to be a way to customize the props sent to the component, and if sent, they are ignored.
If there is no simple way to achieve this, I will temporarily wrap everything inside a div (not ideal, as it will break all my styles) waiting for a better solution.
Suggestion: One way to achieve this could be either directly through the component or via a property on the Select that allows passing props to each individual component, similar to how it’s done with classNames and components, and don't vanish with those custom props
The text was updated successfully, but these errors were encountered:
I am extending react-select to, and noticed an issue that my custom props are not being passed to the
base components
Renders as:
Here is my implementation:
Custom component:
Select
The idea is to have some extra "control data" for those components. From what I’ve been able to observe and analyze, there doesn’t seem to be a way to customize the props sent to the component, and if sent, they are ignored.
If there is no simple way to achieve this, I will temporarily wrap everything inside a div (not ideal, as it will break all my styles) waiting for a better solution.
Suggestion: One way to achieve this could be either directly through the component or via a property on the Select that allows passing props to each individual component, similar to how it’s done with classNames and components, and don't vanish with those custom props
The text was updated successfully, but these errors were encountered: