Sitecore XA (SXA) + Multilist with Search + Page List

698 Views Asked by At

Using OOTB SXA, I am trying to render selected items from Multilist with Search.

The data renders, but with everything nested in a single <li> broken into <div>'s

Among other things, I've tried using and Item Query (re: https://ggullentops.blogspot.com/2017/04/sitecore-sxa-pagelist-item-query.html), but didn't have any success.

Q: What is the correct way to render my items as individual <li>'s?


Current Results displayed:

enter image description here

<main>
    <div id="content" class="container">
        <div class="component page-list col-12">
            <div class="component-content">
                <ul class="items">
                    <li class="item">
                        <div class="field-first-name">Stephen</div>
                        <div class="field-last-name">King</div>
                        <div class="field-first-name">Gregory</div>
                        <div class="field-last-name">Mertens</div>
                        <div class="field-first-name">Penny</div>
                        <div class="field-last-name">Mertens</div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</main>


Multi Select List Data Source:

enter image description here


List Item:

enter image description here


Control Properties:

enter image description here


Rendering Variant

enter image description here

enter image description here


0

There are 0 best solutions below