Skip to content
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

docs(Search): clarify label prop requirement #6400

Merged

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Jul 7, 2020

Closes #6396

This PR clarifies the labelText prop description to show the prop is required. Based on the recent changes (autogenerating IDs to connect the label and search input) and the history of the prop type definition (it has been required since the start), it looks like the prop should be required even if it is a hidden label

@emyarod emyarod requested a review from a team as a code owner July 7, 2020 15:38
@ghost ghost requested review from aledavila and joshblack July 7, 2020 15:38
@netlify
Copy link

netlify bot commented Jul 7, 2020

Deploy preview for carbon-elements ready!

Built with commit 5f91f63

https://deploy-preview-6400--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jul 7, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 5f91f63

https://deploy-preview-6400--carbon-components-react.netlify.app

@kodiakhq kodiakhq bot merged commit 5eccad9 into carbon-design-system:master Jul 10, 2020
@emyarod emyarod deleted the 6396-search-prop-descriptions branch July 10, 2020 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search component labelText marked as required even though description says optional
3 participants