-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Select] Add SelectDisplayProps
prop
#10408
[Select] Add SelectDisplayProps
prop
#10408
Conversation
Is this error something I can resolve? It's not entirely clear what the error is. |
@noah-potter run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one concern with exposing the SelectDisplayProps
property to the top Select
component. It's boilerplate the native implementation might not need. What about scoping the change to the SelectInput
component waiting for the component to be split with #10335?
src/Select/SelectInput.js
Outdated
@@ -154,6 +154,7 @@ class SelectInput extends React.Component { | |||
open: openProp, | |||
readOnly, | |||
renderValue, | |||
SelectDisplayProps = {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for the default.
@oliviertassinari Should that scoping happen whenever |
# Conflicts: # pages/api/select.md
I think that the simplest path to solve #10335 is to introduce a |
Closes #10401