Questions tagged [lightning-duallistbox]
The lightning-duallistbox tag has no usage guidance, but it has a tag wiki.
37
questions
1
vote
0
answers
42
views
Implementing Lazy Loading with Lightning Dual Listbox
I need to implement lazy loading for a lightning dual listbox because I have more than 10k data to be put in the options and it is currently make the site hang/lag. I welcome anyone who have any other ...
-1
votes
1
answer
813
views
LWC Multi Select Picklist depending on a combo box
Currently am stuck in between these.... first I'd have a combo box based on the selection (onchange) I need to render some data in multi select Picklist....so the problem is of I select any of those ...
0
votes
0
answers
73
views
Applying simultaneous filters to datatable
I have four LWC components: - A datatable that displays data - An input text field - A dual listbox - Another dual listbox
I need to make input field and both dual listbox work as simultaneous filters ...
0
votes
1
answer
105
views
Alternative to dual-list-box crashing
I'm using the dual-list-box on LWC and it was working fine but after deploy on the other orgs I have a problem with "too many query rows 50001" because it was just a query without WHERE on ...
1
vote
1
answer
448
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
61
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 + '-' + ...
0
votes
0
answers
64
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
576
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
412
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 ...
0
votes
1
answer
941
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
2k
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
1
answer
792
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
562
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
0
answers
739
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
1
answer
713
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
2
answers
165
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 ...
2
votes
2
answers
1k
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
3k
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
428
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
2
answers
350
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
4k
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"
...
2
votes
2
answers
1k
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
1
answer
1k
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
1
answer
2k
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
270
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
4k
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
2k
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. ...
2
votes
0
answers
307
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 ...
4
votes
1
answer
2k
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
2
answers
784
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
339
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
781
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
8k
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
1
answer
891
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
1
answer
448
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
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 ...