components
components copied to clipboard
cdkTextareaAutosize should remove cdk-textarea-autosize on disabled
trafficstars
Reproduction
https://stackblitz.com/edit/angular-5x8mff
Steps to reproduce:
- set
cdkTextareaAutosizeto false
Expected Behavior
When passing a false value to cdkTextareaAutosize I would expect to be rendered as a simple textarea.
rowsshould be unsetcdk-textarea-autosizeshould be removed
Actual Behavior
rowsset 1cdk-textarea-autosizeis set.
Environment
- Angular:
8.2.14 - CDK/Material:
8.2.3 - Browser(s):
Chrome - Operating System (e.g. Windows, macOS, Ubuntu):
macOS
I see this is a bit old but I am having same issue in latest angular (13)
Same issue with latest Angular 14