-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MatChipList's input is not styledi like MatInput while in disabled state #11089
Comments
The same issue applies to inputs marked readonly; the underline animation is triggered and the colors of the underline and label take on the primary theme color. |
@Antoniossss You should put |
@Antoniossss I found your updated stackblitz disabled state for chip list looks correct. Could you please explain where "it still not styled like regular input"? Thanks |
https://stackblitz.com/edit/angular-6v3y9r-pmgeet?file=app/chips-input-example.html Chip list input is still focusable even on disabled state. |
* Fixes the form field displaying as disabled, but the user still being able to interact with the chip list. * Fixes the chip list still being focusable while it is disabled. * Fixes the individual chips not being disabled when the list is disabled. * Fixes the chip input not being disabled when the list is disabled. Fixes angular#11089.
* Fixes the form field displaying as disabled, but the user still being able to interact with the chip list. * Fixes the chip list still being focusable while it is disabled. * Fixes the individual chips not being disabled when the list is disabled. * Fixes the chip input not being disabled when the list is disabled. Fixes angular#11089.
* Fixes the form field displaying as disabled, but the user still being able to interact with the chip list. * Fixes the chip list still being focusable while it is disabled. * Fixes the individual chips not being disabled when the list is disabled. * Fixes the chip input not being disabled when the list is disabled. Fixes angular#11089.
* Fixes the form field displaying as disabled, but the user still being able to interact with the chip list. * Fixes the chip list still being focusable while it is disabled. * Fixes the individual chips not being disabled when the list is disabled. * Fixes the chip input not being disabled when the list is disabled. Fixes #11089.
* Fixes the form field displaying as disabled, but the user still being able to interact with the chip list. * Fixes the chip list still being focusable while it is disabled. * Fixes the individual chips not being disabled when the list is disabled. * Fixes the chip input not being disabled when the list is disabled. Fixes #11089.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
BUG/PROPOSAL
What is the expected behavior?
I would like to have ability to disable chip list like I do with any other input.
What is the current behavior?
Chip list is not styled when disabled. Styling is fine when input is the first element in mat-form-field but then chips are displayed incorectly (input is above chips)
What are the steps to reproduce?
https://stackblitz.com/edit/angular-6v3y9r
The text was updated successfully, but these errors were encountered: