DOJO form FilteringSelect allow user entered data
I want to create a form with FilteringSelect element and would be great if use could enter custom value. I tried to do that with comboBox but without success (it sends always value - tried all available tricks).
With FilteringSelect I already tried to set up custom Validator (function(value,constraints){return fa开发者_如何学运维lse;}) but it still doesnt now allow me to send custom value.BTW: Im creating a form with Zend_Dojo_Form .
I made small work around ;)
dijit.byId('nameOfTheWidget').item.value;
assigned in onChange event to hidden input.
Tricky but works as I wanted.
It means I made it with ComboBox
精彩评论