This repository was archived by the owner on May 20, 2023. It is now read-only.
Commit 98f929a
Add shouldClearSelectionOnInput input on material auto suggest input.
This used be a hidden configuration based on whether a selection model is set.
For places where a selection model was explicitly passed, this makes no difference.
For places where a selection model wasn't explicitly passed, this will cause the selection item to be deselected in the popup UI when input is changed after selection. But no output will be changed.
PiperOrigin-RevId: 2143086631 parent 58ccdee commit 98f929a
File tree
3 files changed
+35
-6
lines changed- angular_components/lib/material_input
- examples/material_input_example/lib
3 files changed
+35
-6
lines changedLines changed: 29 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| |||
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
138 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
142 | 150 | | |
| 151 | + | |
| 152 | + | |
143 | 153 | | |
144 | 154 | | |
145 | 155 | | |
146 | 156 | | |
| 157 | + | |
| 158 | + | |
147 | 159 | | |
148 | 160 | | |
149 | 161 | | |
150 | 162 | | |
151 | 163 | | |
| 164 | + | |
| 165 | + | |
152 | 166 | | |
153 | 167 | | |
154 | 168 | | |
155 | 169 | | |
| 170 | + | |
| 171 | + | |
156 | 172 | | |
157 | 173 | | |
158 | 174 | | |
| |||
187 | 203 | | |
188 | 204 | | |
189 | 205 | | |
| 206 | + | |
| 207 | + | |
190 | 208 | | |
191 | 209 | | |
192 | 210 | | |
| |||
195 | 213 | | |
196 | 214 | | |
197 | 215 | | |
| 216 | + | |
198 | 217 | | |
199 | 218 | | |
200 | 219 | | |
201 | 220 | | |
| 221 | + | |
| 222 | + | |
202 | 223 | | |
203 | 224 | | |
204 | 225 | | |
| |||
208 | 229 | | |
209 | 230 | | |
210 | 231 | | |
| 232 | + | |
| 233 | + | |
211 | 234 | | |
212 | 235 | | |
213 | 236 | | |
| |||
231 | 254 | | |
232 | 255 | | |
233 | 256 | | |
| 257 | + | |
234 | 258 | | |
235 | 259 | | |
236 | 260 | | |
| |||
312 | 336 | | |
313 | 337 | | |
314 | 338 | | |
315 | | - | |
| 339 | + | |
316 | 340 | | |
317 | 341 | | |
318 | 342 | | |
| |||
575 | 599 | | |
576 | 600 | | |
577 | 601 | | |
578 | | - | |
| 602 | + | |
579 | 603 | | |
580 | 604 | | |
581 | 605 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
0 commit comments