Questions tagged [lightning-combobox]
For questions related to the lightning combobox widget
128 questions
0 votes
0 answers
68 views
Required Fields Behavior in LWC Embedded in Screen Flow
I've created a Lightning Web Component (LWC) that is embedded within a Screen Flow. The purpose of this component is to allow users to select the Opportunity type during creation (in a standard flow ...
0 votes
1 answer
54 views
remove lightning-combobox design
I've created a custom data type datatable and when I'm trying to align all the columns, the lightning-combobox comlumn has a div that doesn't let the picklist stay entirely at the top of the column. I'...
0 votes
0 answers
364 views
How can I update a field with lightning-record-edit-form using a lightning-combobox
I am building an edit form which needs to update values on fields based on the inputs when you hit submit. The form updates the fields successfully for any lightning-input-fields, but I need to do it ...
0 votes
1 answer
98 views
Showing different picklist values dynamic in different rows of a table LWC
I want to use a combobox in an HTML table in LWC component. <template for:each={recordsToDisplay} for:item="asset" for:index="index"> <tr class="slds-...
0 votes
0 answers
49 views
Combobox performance issue
I have problem with comobobox performance. I have found similar question and it seems that it should work if I use spread on data, but it it's still takes a lot of time to load. It works when I am ...
0 votes
0 answers
36 views
Is it possible to do Lazy Loading on Combobox component? [duplicate]
I have Parent, Child & Grand Child Component. Parent Component Display Lazy Loading on LWC data table which I already implemented which loads first 100 records and using onLoadMore event it ...
0 votes
0 answers
55 views
Combobox dropdown "underlapping" another combobox in lower row
I am working with aura components and lightning:combobox. I need to create a table and have made a row-based data structure in backend, sent it to the front end and displayed in html/css. All works ...
1 vote
1 answer
513 views
Why are value and options not populating in a custom dataTable combobox column edit template?
I'm defining a custom column for a Lightning dataTable component to hold a Lightning combobox like this: { label: 'Down Payment Type', fieldName: 'DownPaymentType__c', type: '...
0 votes
1 answer
1k views
Remove blue border from lightning-combobox
I have created an LWC that will be embedded via Lightning Out in a website. I need to apply the styling of the website to the LWC and I am almost done. One thing to do is to change the border of the ...
0 votes
0 answers
486 views
Lightning Input combo-box with new attribute role not working in my org
Trying to implement the new spring release update: b) The lightning-input component receives a new attribute called role, enabling the creation of accessible combo boxes. Check out the below example ...
0 votes
1 answer
107 views
Unable to set selected value for combobox in table row
I have a combobox in a column of a custom table that is populated dynamically. How can I set the value selected for the row that the combobox was changed? Currently, when the onchange fires, the ...
0 votes
1 answer
787 views
How to select the default picklist value for lightning-combobox in lwc?
For a picklist field, it is possible within Object Manager, to select one picklist value as the default value, so that for new records this field is automatically selected in the dropdown. I want to ...
2 votes
1 answer
659 views
how to change the position of the dropdown of Lightning combobox
can we change the dropdown box align with combobox? is it possible? it is like this now. I want it like this <td class="slds-cell_action-mode" role="gridcell"> ...
1 vote
1 answer
368 views
lightning-combobox with dynamic values causing performance issue
In a managed package, I have lwc with combobox whose options are fields from an object. It calls an apex method that returns the list of fields and then displays them. I have noticed for specific ...
0 votes
1 answer
7k views
How to set default picklist value for lightning-combobox?
I have lightning-combobox for which the picklist values are retrieved through getPicklistValues. How can I set default value of this field as the first picklist value? HTML: <lightning-combobox id=&...