-
Notifications
You must be signed in to change notification settings - Fork 54
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
Bug - Select component requires a size prop #534
Comments
Symptom of carbon-design-system/carbon#5481 |
@SimonFinney @diego-codes I opened a new issue about this here, using Diego's examples: carbon-design-system/carbon#6076 Please feel free to weigh in there 👍 UPDATE: I also went ahead and opened this one about enforcing |
@diego-codes Actually I've closed that issue because I believe this is a versioning problem. The propType warnings were fixed in a recent version of Carbon but we are only on |
Oh, how that's good to know. Thank you~ |
Expected behavior -
Given that the documentation states that the
size
prop for theSelect
component. TheSelect
component should allow consumers to not provide thesize
prop.Actual behavior -
When a
size
prop is not set to"sm"
or"xl"
, a prop-type validation warning is logged:Steps for reproducing
CodeSandbox
Select
componentsize
propScreenshots
Optional information
Version - 1.22.1
The text was updated successfully, but these errors were encountered: