Skip to content

Add guidance for styling invalid inputs #348

@Pixcell

Description

@Pixcell

Note: for support questions, please use one of these channels:
https://github.com/angular/material2/blob/master/CONTRIBUTING.md#question.
This repository's issues are reserved for feature requests and bug reports.

  • Do you want to request a feature or report a bug?
    Feature
  • What is the current behavior?
    The only class available on md-input is .md-focused
  • If the current behavior is a bug,
    please provide steps to reproduce and if possible a minimal demo of the problem

    via https://plnkr.co or similar.
  • What is the expected behavior?
    It would be great if the classes of ngControl could be transfered to the md-input label and the md-input underline, in order to display live return on the validity of inputs
  • What is the motivation / use case for changing the behavior?

Better User experience

  • Which version of Angular and Material, and which browser and OS does this issue affect?
    Did this work in previous versions of Angular / Material?
    Please also test with the latest stable and snapshot versions.
  • Other information
    (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)

Metadata

Metadata

Assignees

Labels

docsThis issue is related to documentationfeatureLabel used to distinguish feature request from other issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions