Question

My FilteringSelect have to set required: true but can accept any text.

The problem is when the text not match in store, the error will appear.

How can I avoid that error?

Note : This code is working well but its disable required's validator too.

this.myFilteringSelect.validate = function () {
    //NoAction
};
Was it helpful?

Solution

You should use a dijit/form/ComboBox to get the desired behavior.

http://jsfiddle.net/cswing/ESwpr/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top