Skip to content

Invalid ("error") underline on form inputs should be 2px thick even when not focused #3490

@natsid

Description

@natsid

What is the expected behavior?

According to the Material spec, (although it's not explicit), it looks like a form input's underline should be red if it's been touched and is invalid, even when it's in the focused state. Also, when it is in the unfocused state, it should be red and maintain the same thickness as in the focused state.

What is the current behavior?

Currently, the underline is only red when it's touched/invalid and _un_focused. And when it is red in the unfocused state, it is thin, like the gray unfocused underline.

What is the use-case or motivation for changing an existing behavior?

Our project requires the behavior that appears in the Material spec. While this can be done manually, it seems like it would be reasonable default behavior.

Thanks!

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions