Questions tagged [lightning-duallistbox]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
47 views

Keep Dual List Box selected options

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
0answers
18 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 ...
0
votes
1answer
33 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
1answer
31 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 ...
0
votes
0answers
25 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 ...
1
vote
1answer
61 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 ...
0
votes
0answers
43 views

How to get the highlighted value in the selected list of Dual Listbox of Lightning web component

In the above Dual ListBox, if we click on the German then we want that value (German) to the LWC on the onClick function.
0
votes
2answers
59 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
1answer
161 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
2answers
595 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
1answer
153 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 ...
0
votes
2answers
83 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
1answer
2k 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
2answers
503 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:...
2
votes
1answer
686 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 ...
0
votes
1answer
525 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
1answer
222 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
1answer
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
1answer
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. ...
1
vote
0answers
168 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
1answer
990 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?
0
votes
2answers
550 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
1answer
273 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
1answer
427 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
2answers
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
1answer
6k 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 ...
0
votes
1answer
502 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 :...
1
vote
1answer
386 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:...
3
votes
2answers
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 ...