Commit 9a98111
authored
Currently, `SearchBar` presents a list of items but is hard coded to treat each of these items as "precanned" search text. This PR introduces an `item_activated` callback to allow hosts to override this default behavior.
1 parent 9444b47 commit 9a98111
File tree
2 files changed
+7
-1
lines changed- ui-libraries/material
- docs/src/content/docs/components/AppBars
- src/ui/components
2 files changed
+7
-1
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
291 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
292 | 295 | | |
293 | 296 | | |
294 | 297 | | |
| |||
0 commit comments