cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

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

Open ferreiravinicius opened this issue 4 years ago • 0 comments

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.

ferreiravinicius avatar Apr 05 '20 05:04 ferreiravinicius