Skip to content

bug(MatChipList): disabled should respect child and same behavior with select #19213

Closed
@keatkeat87

Description

@keatkeat87

Reproduction

https://stackblitz.com/edit/angular-w1ehsl?file=src%2Fapp%2Fchips-overview-example.html

Steps to reproduce:

  1. compare behavior of select and mat chip list
    image
    last chip and option are disabled.
  2. click disabled button
  3. click enabled button
  4. now last chip are enabled, but the last option still disabled.

Expected Behavior

last chip should keep disabled

Actual Behavior

last chip enabled

Environment

Angular CLI: 9.1.2
Node: 12.16.1
OS: win32 x64

Angular: 9.1.2
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package Version

@angular-devkit/architect 0.901.2
@angular-devkit/build-angular 0.901.2
@angular-devkit/build-optimizer 0.901.2
@angular-devkit/build-webpack 0.901.2
@angular-devkit/core 9.1.2
@angular-devkit/schematics 9.1.2
@angular/cdk 9.2.1
@angular/material 9.2.1
@angular/youtube-player 9.1.3
@ngtools/webpack 9.1.2
@schematics/angular 9.1.2
@schematics/update 0.901.2
rxjs 6.5.5
typescript 3.7.5
webpack 4.42.0

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions