-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
refactor(react): remove default placeholder from Combobox, TextArea, TextInput, MultiSelect, FilterableMultiselect #9510
refactor(react): remove default placeholder from Combobox, TextArea, TextInput, MultiSelect, FilterableMultiselect #9510
Conversation
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: d62e8ac 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/61f2ff7399584300085fbcc8 😎 Browse the preview: https://deploy-preview-9510--carbon-react-next.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: d62e8ac 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/61f2ff734dbbde00083cbbf9 😎 Browse the preview: https://deploy-preview-9510--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: d62e8ac 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/61f2ff73b4daf400073c004b 😎 Browse the preview: https://deploy-preview-9510--carbon-components-react.netlify.app/ |
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.
LGTM!
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.
Looking great! I think in this PR we saw: ComboBox, TextArea, and TextInput covered. Was curious if we were also going to cover:
- TimePicker
- ControlledPasswordInput
- PasswordInput
- Search
- FilterableMultiSelect
- DatePickerInput
- TableToolbarSearch
Which I think also have a placeholder
prop: https://carbon-react-explorer.vercel.app/props/placeholder
I think there are several with placeholderText
too that I wasn't sure if they applied either but wanted to confirm: https://carbon-react-explorer.vercel.app/props/placeHolderText
…22-remove-default-placeholder
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.
LGTM!
partially closes #5022
Changes
Notes
Three inputs with a default placeholder were excluded from this PR (this PR now only partially closes 5022) because the removing default placeholder text without further design consideration would have resulted in worse usability potentially. These components are:
Any other instances of Placeholder in the codebase were not required or used in example storybook stories as far as i could tell 👍🏾