Commit 41f756f
committed
make selecting of autocomplete items use each item's label instead of
number to fix issue 8394 http://bugs.jqueryui.com/ticket/8394
>> When the autocomplete source uses a list of
items that have different label and value pairs, as I interact with the
autocomplete listing, the UI fills the selected field with the
item.value instead of the desired item.label. For example, an item has
the label: "apples", and the value: "123". When I walk through the
options this item shows "123" in the UI instead of "apples". <<1 parent 4aafdfd commit 41f756f
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
244 | | - | |
| 245 | + | |
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
252 | | - | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
| |||
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
275 | | - | |
| 276 | + | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| |||
0 commit comments