View Full Version : Combobox forceSelection: true does not work if editable: true

12 Oct 2010, 7:37 AM
I suppose field won't be valid in this case. But in spite of forceSelection: true is set, in case of typing something not from list of values and submitting it, the form is submitted, combobox is not marked is vaild. The typed value is submitted as a param with name equal to hiddenName property of combobox (common combobox behaviour).
Also to note, that my Combobox is remote and performs autocomplete on server.
I know it is possible to correct the situation by implementing validator function where the hidden field value will be checked, but this behaviour is strange and must be either documented or corrected.

13 Oct 2010, 3:21 AM
There is indeed a problem in ComboBox regarding forceSelection (already posted in the Bugs forum).

But as you've already stated, when using a remote store this becomes even more complex because the form submit would have to wait until the combobox was able to verify the entry remotely before it can continue.