Skip to content

[Bug]: Datepicker - Default - warnText and invalidText display at the same time when set to true #20447

@nedkeny

Description

@nedkeny

Package

@carbon/react

Browser

Edge

Package version

1.90.0

React version

18.3.1

Description

This can be reprodcued in the Carbon Storybook

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-datepicker--default&args=invalidText:invalidText;invalid:!true;warn:!true;warnText:warnText

Steps to reproduce

Set warn and invalid text to and add values - Two helper text strings appear

Suggested Severity

None

Application/PAL

No response

Code of Conduct

Metadata

Metadata

Assignees

Type

Projects

Status

🚦 In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions