Skip to content

docs(chips): provide docs and demo for using a label with outline appearance #16292

@KevinJue

Description

@KevinJue

Bug, enhancement request, or proposal:

In mat-form-field with outline appearance you can insert a mat-chip-list inside the form-field but the label doesn't go above the input
it's look like a bug, because if we insert the mat-chip-list outside or if we change the appearance everything look good

Capture d’écran 2019-06-13 à 11 20 54

CodePen and steps to reproduce the issue:

Stackblitz to see what i mean
https://stackblitz.com/edit/angular-dydyib

Detailed Reproduction Steps:

What is the expected behavior?

The label should go above the input like that
Capture d’écran 2019-06-13 à 11 28 29

What is the current behavior?

The label stay in the input

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

Which versions of AngularJS, Material, OS, and browsers are affected?

  • "@angular/material": "^6.3.2"

  • OS: MacOS Mojave

  • Browsers: Chrome Version 74.0.3729.169

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/chipsdocsThis issue is related to documentationgood first issueThis issue is a good place to start for first time contributors to the projecthelp wantedThe team would appreciate a PR from the community to address this issuematerial specIssue related to the Material Design spec https://material.io/design/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions