Skip to content

[EuiBadge] Handle invalid color entry #3765

Closed

Description

@thompsongl

Currently during color validation in EuiBadge, entries that are not valid chroma-js values will result in console errors (Uncaught Error: unknown format: #D) and will block rendering in the docs.

Invalid entries should be noted with console.warn but the exception should not have such adverse rendering effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions