Hi,
This is not a new issue ,I might be knowing about that but still i am facing that problem- Set a webdropdown enableCustomValue =false. but auto match property to true.
Now as you type any word say 'U' and if 'USA' exist in dropdown's data then it will auto popup and get select right, Now just using backspace delete 'SA' and you have Only 'U' as a text in dropdown.
Now you can easily save this and your database is corrupt. Why it did let me save wrong value which is not supposed to get save.
Regards,
Vivek Mahawar
Hi Viviek,
The allowCustomValue is designed exactly for behavior which you described. It allows to enter and keep any custom value entered in field.
The highlighted item in list while type-in is not "selected" item, but "active" item. That item is picked-up as the first item which has matching text. In order to select that item, application should press enter key, click that item in list by mouse or trigger blur (tab-key or click outside of combo). Of course if allowCustomValue is enabled, then blur will not select item and custom text will be kept.
The functionality of active item can be disabled by enableActiveItem:false.
If your application needs only items defined in list, then you should not enable allowCustomValue.
Hello Viktor,
1. enableActiveItem property does not exist in Current version ie.="Infragistics4.Web.v11.2, Version=11.2.20112.2086. and I dont know for what purpose it will be use.
2.I was talking about the written text in dropdown. EnableCustomValue="False" and i type 'U' then 'USA' auto populate and shows up in dropdown text field.Now i remove 'SA' and save .
See 'U' only is saved in my db which is not suppose to be.
You said that this is correct behaviour of webdropdown ..Are you talking abt that or anything different.
Please suggest.