Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Focused inputs with errors don't highlight label and line in red until the second time receiving focus #5140

@joeyperson

Description

@joeyperson

When using the demo section for input errors, the first time I focus on an element, it inherits the "normal" ink color, which is incorrect. The spec indicates that when an error appears, both the label and underline are activated with red. So when an error appears, the input would never use the default ink unless the error was resolved.

In the angular demo, it's only after focusing on an input with error twice does the expected behavior occur.

Metadata

Metadata

Assignees

Labels

g3: reportedThe issue was reported by an internal or external product team.pr: merge readyThis PR is ready for a caretaker to reviewui: focus

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions