Dojo filteringselect. how do I pass the displayedValue instead of the index to my server

Posted by Kalle on Stack Overflow See other posts from Stack Overflow or by Kalle
Published on 2010-06-17T10:07:35Z Indexed on 2010/06/17 10:13 UTC
Read the original article Hit count: 222

Filed under:

The question is probably better answered by how do I get value == displayedValue. Or how do I prevent value to be Index based and instead use the textstring I provide from my store.

My Json has this structure:

{"items":[{"zipcity":"Stocka"},{"zipcity":"Stockamöllan"},{"zipcity":"Stockaryd"}]}

Does it need to change?

© Stack Overflow or respective owner

Related posts about dojo