Domanda

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
};
È stato utile?

Soluzione

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

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top