csantanapr / dapp-examples

Series of Single Page Apps using the dApp Framework
http://csantanapr.github.io/dapp-examples
Other
5 stars 4 forks source link

When using itemMap on EdgeEdgeStoreList with FilteredListMixin search doesn't use the label mapping #11

Open csantanapr opened 11 years ago

csantanapr commented 11 years ago

To workaround need to specify what to search on which is not documented labelProperty:'description'

<ul data-dojo-type="dojox/mobile/EdgeToEdgeStoreList" id="requestsList" data-dojo-attach-point="requests" data-dojo-props="store: this.loadedStores.requestsListStore, itemRenderer: this.RequestListItem, itemMap:{description:'label'}, labelProperty:'description', target: 'requestItemDetails', clickable: true" data-dojo-mixins="dojox/mobile/FilteredListMixin"> </ul>