[Combo] Autocomplete with a dot

When I try enter a word with a dot in it, the auto-complete fails.
For example: B.J.

I am using 4.0.3 Standard Edition.

Environment:

  • Windows 8.1
  • Google Chrome (latest)

Hello
We tested with your environment the next code sample:

function doOnLoad() { myCombo = new dhtmlXCombo("combo_zone", "combo", null); myCombo.load("../___json/dot.json"); myCombo.enableFilteringMode(true); } function enableComplete(mode) { myCombo.enableAutocomplete(mode); }
json:

{options: [ {value: "1", text: "36.18"}, {value: "2", text: "36.19"}, {value: "3", text: "85"}, {value: "4", text: "64"}, {value: "5", text: "36.22"}, {value: "6", text: "333"}, {value: "7", selected: "1", text: "360"} ]}
with the last version and it works fine.
If you use server side, you need to check the data you get from it

Test with the following XML

<?xml version="1.0" encoding="iso-8859-1"?> <complete> <option value="BAT"><![CDATA[BAT]]></option> <option value="BJ"><![CDATA[B. J.]]></option> </complete>
When entering “B.” it always return BAT.
However, when entering “B.” it returns the correct item.

Hi

Please send your complete demo to support@dhtmlx.com