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

fix(Slider): transform invalid into proper attributes #6809

Merged
merged 1 commit into from
Sep 10, 2020

Conversation

rvsia
Copy link
Contributor

@rvsia rvsia commented Sep 10, 2020

Closes #6808

This fixes invalid on Slider by transforming this prop into proper props (aria-disabled, data-disabled)

Changelog

Changed

  • Passing invalid on Slider won't no longer throws a console.log error

Testing / Reviewing

  1. Pass invalid={true} to Slider
  2. Check console log for the error

@rvsia rvsia requested a review from a team as a code owner September 10, 2020 12:40
@netlify
Copy link

netlify bot commented Sep 10, 2020

Deploy preview for carbon-elements ready!

Built with commit fabf242

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

@netlify
Copy link

netlify bot commented Sep 10, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit fabf242

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

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for taking the time to fix this! 👍 ✅

@kodiakhq kodiakhq bot merged commit a4befc8 into carbon-design-system:master Sep 10, 2020
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.

Slider: invalid throws errors
3 participants