开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜