Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Dennis on Jan 25, 2008 09:10
open dhtmlx forum
"." in Combobox with search continued

I was having a similar issue where "." in combo boxes turned into a space. (Searching for the value "A.W." was impossible)

I have applied the fix posted to replace

RegExp("^"+text.replace(/([\[\]\{\}\(\)\+\*\\])/g,"\\$1"));

with

RegExp("^"+text.replace(/([\.\[\]\{\}\(\)\+\*\\])/g,"\\$1"));

however, it still won't let me search for "A.W.", when I type the "." after "A" it automatically puts a space in place of the "." , did I do something wrong?
Answer posted by Support on Jan 29, 2008 08:13
Please check attached sample, it uses native ( unmodified filtering functionality ) - and works correctly for labels as "A.W."
Attachments (1)