Skip to content

In TextArea component error message the icon is missing #589

@lucaprevitali

Description

@lucaprevitali

In TextArea component the Alert icon is missing

Detailed description

Describe in detail the issue you're having.

In the TextArea component when the error text is displayed the Alert icon is not shown

Is this a feature request (new component, new icon), a bug, or a general issue?

General issue

Is this issue related to a specific component?

TextArea component

What did you expect to happen? What happened instead? What would you like to see changed?

In the TextArea component when the props invalid is passed as true and the props invalidText is passed with any string value I'm expecting to see the error message with an Alert icon on the left.

The Alert icon on the left of the error message is shown in the other input fields like: TextInput, RadioButton components.

At the moment the error text is displayed correctly but there's no Alert icon.

What browser are you working in?

Chrome

What version of the WFP UI (Carbon Design System) are you using?

1.21.0

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

This issue is not urgent

Steps to reproduce the issue

The bug it's reproducible directly from UI Kit documentation.

  1. Go to TextArea component
  2. Assign to TextArea the props invalid as true and any text at the props invalidText

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions