问题
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 false;}) but it still doesnt now allow me to send custom value.
BTW: Im creating a form with Zend_Dojo_Form .
回答1:
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
来源:https://stackoverflow.com/questions/5251263/dojo-form-filteringselect-allow-user-entered-data