简体   繁体   中英

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 false;}) 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM