Questions tagged [lightning-duallistbox]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
17 views

How to display lookup fields from listDualBox to DataTable? LWC

In the datatable i display fields with different Data type : Lookup , Text , Picklist On lick button Modfy column , i display all Datatable column as source-label but when i select field lookup like ...
  • 13
-1 votes
0 answers
24 views

Cannot read properties of undefined (reading 'Name') in dual-listbox LWC

HTML : <lightning-dual-listbox name="fieldSelection" label="Select Fields (at least 5 and at most 10)" ...
  • 13
-2 votes
1 answer
43 views

How to display (lookup fields) columns from Datatable in listDual Box?

I want to display in All selected Field all the columns of datatable and to be able only to delete columns HTML : <lightning-button label="Modify Columns" onclick={...
0 votes
0 answers
20 views

Disable few options based on selection - Lightning dual Box

I want to know if we can disable options from Lightning Dualbox Aura based on selections. Lets say My dualbox has options of "A,B,C,D,E" I want the users to select either "A,B,C, or ...
  • 2,146
1 vote
1 answer
44 views

How can I develop a select all/deselect all for duallistbox in aura?

I'm building an AURA component that has dualListBox that is dependent on on lightning:select (https://prnt.sc/mc05yPEzmBO7), so based on the value selected on the lightning:select I populate the ...
0 votes
1 answer
32 views

Lightning:dualListbox Issue

I'm trying to populate list of options for lightning:dualListbox in my aura component but facing an issue. I wanted to display the option with combination of two custom fields like Acc Number + '-' + ...
  • 2,146
0 votes
0 answers
29 views

Clone value using lightning dual Listbox

I need some help please . What I want from this code is that once the button is clicked Clone, we clone the name of the template, and generate Template Name Id which is concatination between the name ...
1 vote
1 answer
158 views

Lightning Dual Listbox style

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 ...
1 vote
1 answer
136 views

lightning-dual-listbox selected column occassionally goes missing in a modal

I have a lightning-dual-listbox presented in a modal and occasionally the right-hand "selected" column does not render in Chrome or Safari as shown here: Refreshing the page generally fixes ...
  • 131k
1 vote
1 answer
368 views

How to refresh dependent dual listbox in LWC

The attached image is an LWC, in which Category is a controlling picklist (Combobox) and Sub Categ is the Dependent Picklist. Eg. Category 1: Sub Categ 1,2,3 Category 2: Sub Categ 2,3 I am storing ...
0 votes
1 answer
917 views

Keep Dual List Box selected options [closed]

The Dual List box in my LWC repopulates the options with records found from the user inputs below, however I want it to keep the selected values in the option list when they search again, only ...
0 votes
0 answers
238 views

Updating selected list on a Dual listbox lightning component on a screen flow to the database

I have created lightning dual-listbox component to replace mulit-select picklist field to enter data using screen flows. The component successfully display the existing values on the multi-picklist ...
  • 257
0 votes
1 answer
284 views

How to insert field value and ID to dual list box from APEX controller

I am making a Lightning Web Component and for it I want to populate a dual list box with a list of records, with the value of one field being the label and the ID of the record as the value. I am ...
0 votes
1 answer
138 views

Passing values from apex controller to js.controller and then display as default values in 'Dual Listbox'

I have created an apex controller to pass 3 custom fields and display them in Dual Listbox as default values. I am using this Dual Listbox in a Flow to input mulit picklist values. My Apex public ...
  • 257
0 votes
0 answers
401 views

Save changes and Reload Browser with the same button

Hello I've been working on a LWC for some months already, I'm close to finally finish it, for this I want to be able to save the changes of a LWC dual list box, once it's saved I'd like to refresh the ...
  • 29
1 vote
1 answer
119 views

How to show a list of QUEUES where a selected User doesn't belong to, excluding QUEUES where other users belong to

I'm working on a Dual Picklist where in left column I need to show a list of Queues where a selected user belongs to and in the right column a list of Every Queue that exist on the org besides the ...
  • 29
0 votes
2 answers
104 views

How to add a Standard User record to an object programmatically?

So my question is that I have bunch of standard users that I want to insert into my custom object i.e Training Plan. And I want to do it programmatically, so is there a way to achieve it. What I have ...
1 vote
2 answers
527 views

LWC Dual list box setting the value getting Uncaught (in promise) TypeError: this.value.forEach is not a function

Trying to set dual list box value getting below error **Uncaught (in promise) TypeError: this.value.forEach is not a function at ie.get computedSelectedList [as computedSelectedList]** HTML <div ...
0 votes
2 answers
2k views

How to set values in lightning dual list box in lwc

I need to populate my lightning-dual-listbox with the fields of selected object. My apex class returns the list of fields, I have fetched the values in this.objectFields but they are not getting ...
0 votes
1 answer
305 views

Multiselect picklist right section not getting prepopulated values using lightning component

Created Quick action and attached that lightning component with this Quick action. Alert message showing the result which is coming from the controller soql but right section is showing empty. public ...
  • 1,308
0 votes
2 answers
211 views

lightning:dualListbox is throwing script error on option selection

Below is my logic: <aura:attribute name="selectedValues" type="List" /> <lightning:dualListbox name="languages" label= "Select ...
1 vote
1 answer
3k views

How to set dynamic default values in lightning dual list box

I want to set dynamic default values in lightning dual list box Lwc code eFile.html <lightning-dual-listbox name="Select Fields to display" label="Select Fields to display" ...
1 vote
2 answers
874 views

Lightning dualListBox doesn't show the text of values

I have a dualListBox which should get it's values from a multi-picklist field and it looks like the values are populating but I can't actually see the text. Order_Tech_Docs.cmp <aura:...
  • 446
2 votes
1 answer
953 views

Highlight first option of lightning-dual-listbox

I am working on a lwc containing a dual listbox filled with queried contact values that I need. I am successful at retrieving all contact values. The end user would like the first option of the ...
  • 63
0 votes
1 answer
991 views

Customized dual list box with out right and left arrows

I got a requirement similar to lightning dual list box. But my need is there must not be right and left arrow , instead if we click on the options in left box it has to be moved to the right box and ...
0 votes
1 answer
250 views

Lightning RecordEdit Component - multiselect

I have custom Lightning component form but i get a javascript error on console, i suppose something i am doing wrong. <!--@ggalaios 20/11/19: ea_RelationshipWithea --> <aura:attribute ...
3 votes
1 answer
3k views

LWC Dual Listbox field failing to populate values when using getFieldValue

I'm struggling to obtain the values that are part of the Selected list on a lightning-dual-box field. This is the field: <lightning-dual-listbox name="Mass_Payments__c" ...
0 votes
1 answer
1k views

Lightning:dualListbox Style Not Working As Expected

When I create a dualListbox on a lightning component I am unable to see the values. When I inspect I can see that the values are there. It almost looks like the color is set to white or transparent. ...
  • 3,245
1 vote
0 answers
202 views

Add Info Icon next DualListBox values in Lightning Component

I am using Duallist to utilise the multi picklist feature, but I need to add an info icon as well, next to each value of the duallist, and that will have the help text on mouse hover it will be show ...
3 votes
1 answer
1k views

How to get rid of up and down arrow buttons from a lightning duallistbox?

The documentation doesn't seems to have that information covered. Did anyone had same issue figured a way to hide that column?
  • 401
0 votes
2 answers
640 views

Is there a way to see if a change occurred in a dual Listbox component?

I am using salesforce's dual list box aura component and controller. Markup <aura:attribute name="displayUserSettings" type="boolean" default="false" /> <aura:attribute name="...
0 votes
1 answer
309 views

when I searched 2nd time in the searchbox the values that are selected in the 1st time is vanished from the selected box [closed]

I have implemented the lightning:dualListbox in my component.But when I searched 2nd time in the searchbox the values that are selected in the 1st time is vanished from the selected box. below is my ...
0 votes
1 answer
598 views

Case insensitive for the search at the lightning:dualListBox

I have a searchBox for a lightning:dualListBox and written to search according to the searchTerm like below, ({ handleInit : function(cmp, event) { cmp.set('v.options', cmp.get('v....
0 votes
2 answers
1k views

issues in search functionality in lightning:dualListBox

I have tried to create a search functionality for the lightning:dualListBox as below, Please omit the event and all, We got a List of string to attribute 'dataImportFields' from the back end like, '...
0 votes
1 answer
7k views

lightning:duallistbox - how to preset selected values?

The official developer specification says the component (API v43) has "values" attribute. A list of default options that are included in the selected options list box. This list is populated with ...
  • 1,149
0 votes
1 answer
680 views

How to display DualListBox component in readonly mode

Specifying a readonly flag in a dualListBox component results in this error Uncaught Assertion Failed!: "readonly" must either be a public property of lightningDualListbox or a global HTML attribute :...
  • 48
1 vote
1 answer
414 views

Error setting onchange for a lightning:dualListbox but not other lightning:* components

I am getting the below error for the lightning:dualListbox but not for the lightning:select in the below component code. The component is being dynamically created. Other dynamically created lightning:...
  • 131k
3 votes
2 answers
2k views

Where are examples for using SLDS Dueling Listbox?

In my components I want to use the Dueling-picklist from the LIGHTNING DESIGN SYSTEM. On the website there is no example code but just this BETA note. I need examples for the markup and how to add ...