Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Error alert saying "boolean" is not a valid type for attribute "loading" (expects "string"). #1708

Closed
ferreiravinicius opened this issue Apr 5, 2020 · 0 comments

Comments

@ferreiravinicius
Copy link

Describe the bug
Showing error in console when using the component Button.
It says Received 'false' for a non-boolean attribute 'loading'
It shows even if we don't specify anything to the attribute (since it's false by default).

Expected behavior
No error log.
Attribute loading should be boolean following what is specified in the docs.

Screenshots
error

Cosmos version:
0.35.0

Additional context
Being replicated in Sandbox: https://codesandbox.io/s/modest-sunset-t5w8c
The component still working as expected. Just error alert popping in console after every render.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants