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

a11y console errors #1670

Closed
danielsogl opened this issue Oct 18, 2019 · 2 comments · May be fixed by largerock/largerock.com#5
Closed

a11y console errors #1670

danielsogl opened this issue Oct 18, 2019 · 2 comments · May be fixed by largerock/largerock.com#5

Comments

@danielsogl
Copy link
Contributor

  • components: Dropdown
  • reactstrap version 8.1.0
  • import method umd
  • react version latest
  • bootstrap version latest

What is happening?

The new property a11y is throwing errors because of the boolean value true that is set now by default.

What should be happening?

The prop should be set as described by react

Steps to reproduce issue

  1. use a drop down or any other component with the new a11y prop
  2. run the app and open the console

Error message in console

Warning: Received `true` for a non-boolean attribute `a11y`.

If you want to write it to the DOM, pass a string instead: a11y="true" or a11y={value.toString()}.
@rhdtl78
Copy link

rhdtl78 commented Oct 18, 2019

I think it comes from here

@TheSharpieOne
Copy link
Member

fixed in #1673

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants