Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
875
Ig:WebDropDown Still Set custom values after EnableCustomValue='False'
posted

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

Parents
No Data
Reply
  • 24497
    posted

    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.

Children