Skip to content

isInvalid prop is missing in the Select component #1882

@vbabich

Description

@vbabich

Enterprise uses isInvalid prop on input components to set an invalid state. Most inputs have this prop, except the Select component.

Invalid selects display a warning in the browser console:

Warning: React does not recognize the `isInvalid` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `isinvalid` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
at select

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions