With this code and as you see in the image, I have a mismatch between the box that contains my list and the Selected one, how can I fix this?

I want also to add some space between the list box and the popup bar , is it possible ?

enter image description here

    <lightning-card title="   Form ">
        <lightning-dual-listbox name="getSales"
                                label="  Select Sales "
                                field-level-help="Select your sales "
        <div class="slds-modal__footer">
            <button class="slds-button slds-button_neutral" aria-label="Cancel and close"> Cancel </button>
            <button class="slds-button slds-button_brand">Save</button>

1 Answer 1


I removed selected-label="Selected" and the box was aligned correctly .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.