Skip to main content

When a queue item is ‘clicked’, the selected property is not being set. This leads to issues when calling getSelectedItems, unSelectAll, etc. on the queue list.


Notes - in the tagClickAction (function 😎, the nx-queue-item-selected class is being added, but the selected property is not being set.


Steps to reproduce:


  1. Create page using XML below

  2. Preview page

  3. ‘Click’ and item

  4. in the console, execute the following :

skuid.$C('accountQueue').element.data('object').list.getSelectedItems()

Expected Behavior

Array with 1 item that represents the selected item is returned


Actual Behavior

Empty Array is returned


Sample Page XML


<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account">   <models>
<model id="Account" limit="100" query="true" createrowifnonefound="false" sobject="Account">
<fields>
<field id="Name"/>
<field id="CreatedDate"/>
</fields>
<conditions/>
<actions/>
</model>
</models>
<components>
<pagetitle model="Account" uniqueid="sk-3Tr7Zi-68">
<maintitle>
<template>{{Model.labelPlural}}</template>
</maintitle>
<subtitle>
<template>Home</template>
</subtitle>
<actions>
<action type="savecancel"/>
</actions>
</pagetitle>
<queue tagrendertype="template" querystring="id={{Id}}" defaultitemparameter="id" clickactiontype="snippet" searchbox="true" tokenizesearch="true" uniqueid="accountQueue" model="Account" actionsnippet="fakeSnippet">
<rendertemplate>{{{Name}}}</rendertemplate>
</queue>
</components>
<resources>
<labels/>
<css/>
<javascript/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuidpage>

Barry~ 

Thanks for alerting us of this bug. The devs are aware of it and will consider it for a future release.

Thanks for helping us make Skuid better!
Karen


Thanks Karen!


Reply