Commit 5fca612
authored
docs(material/autocomplete): reset template driven autocomplete example (#27656)
Make a bug fix to the template-driven autocomplete example. Fix demo
issue where clicking the reset button doesn't reset the autocomplete
options and the value in the input to the original state. Reset the form
field by resetting the value of the input and the tdStates to the value
when the demo is first rendered.1 parent 43dbbe2 commit 5fca612
File tree
2 files changed
+7
-1
lines changed- src/dev-app/autocomplete
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
190 | 196 | | |
191 | 197 | | |
192 | 198 | | |
| |||
0 commit comments