I'm using a ComboBox item backed with an optiondatasource. The datasource has two fields, the id (numeric) and a display field (string). The problem is that the display field has numeric characters in it, e.g.:
ID value
12 ABC_3223213
13 ABC_1234567
14 ABC_3412456
etc.
now when the user wants to type a filter on the items displayed, thus the display values, he starts typing "12". What he expects would be that the list will show the last two items in the example, but what actually happens is that the SelectItem interprets the data as a number and selects the first item (by ID). Any ideas on how to filter the displayfield on numeric values?
thanks,
ITB
ID value
12 ABC_3223213
13 ABC_1234567
14 ABC_3412456
etc.
now when the user wants to type a filter on the items displayed, thus the display values, he starts typing "12". What he expects would be that the list will show the last two items in the example, but what actually happens is that the SelectItem interprets the data as a number and selects the first item (by ID). Any ideas on how to filter the displayfield on numeric values?
thanks,
ITB
Comment