mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
chore(textfield): fix demo clear icon button not disabling
PiperOrigin-RevId: 601821460
This commit is contained in:
parent
5e40a1bcec
commit
04b7e9b120
@ -119,6 +119,7 @@ const icons: MaterialStoryInit<StoryKnobs> = {
|
||||
<md-icon slot="leading-icon">search</md-icon>
|
||||
<md-icon-button
|
||||
aria-label="Clear input"
|
||||
?disabled=${knobs.disabled}
|
||||
slot="trailing-icon"
|
||||
@click=${clearInput}>
|
||||
<md-icon>clear</md-icon>
|
||||
@ -136,6 +137,7 @@ const icons: MaterialStoryInit<StoryKnobs> = {
|
||||
<md-icon slot="leading-icon">search</md-icon>
|
||||
<md-icon-button
|
||||
aria-label="Clear input"
|
||||
?disabled=${knobs.disabled}
|
||||
slot="trailing-icon"
|
||||
@click=${clearInput}>
|
||||
<md-icon>clear</md-icon>
|
||||
|
Loading…
Reference in New Issue
Block a user