Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lightning-combobox]

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

1
vote
2answers
149 views

LWC Get Pick-list Field Values

In LWC, is it possible to get a pick-list field's possible values? I'm writing a component that is embded into a lightning record page. I need my component to be able to load the record from the page,...
0
votes
2answers
42 views

Multiselect Combobox

Is it possible to configure the combobox combo box to allow multiple selections? I tried this method: import { LightningElement, track } from 'lwc'; export default class ComboboxBasic extends ...
1
vote
1answer
55 views

How to query for lightning-combox items in a lwc-jest test?

I can reference a collection of p tags in lwc-jest, but am not able to do so for a lightning-combobox's items. This gives me values: const cats = element.shadowRoot.querySelectorAll('p'); expect(...
0
votes
1answer
39 views

Why i can't use variable name other then “value” to save my selected value in Combobox (Lightning Web Component)

I'm working on lightning Web Component and i have a combobox. In the Template file i have @track value='' to save my selected value when i change the variable name from @track value='' to @track ...
2
votes
2answers
199 views

Lightning Web Component Combobox

i'm developing lightning web component and i want to fill or populate my combobox from result of apex method so how i can in the html file get the result from JavaScript file and put them in the ...
0
votes
0answers
23 views

How do I resize a Lightning component dropbox?

I have a Lightning Component with 2 drop boxes and some buttons. The problem is the one dropbox has about 12 items in it and ends up looking like this: which isn't good. I either need to limit the ...
0
votes
0answers
150 views

lightning combobox Set Focus and Handling Up and Down Keyboard Events

Hello I am trying to create a autocomplete using lighting components, The first attempt was to use the lightning:combobox but this doesn't allow me to use the input box such as input of type search. I ...
0
votes
1answer
381 views

Lightning combobox options attribute not showing any options!

I am trying to populate the options attribute of the lightning combobox to the values of a component attribute. The channels component attribute has all the values in it, but for some reason it doesn'...
0
votes
0answers
224 views

Why does selecting an option on lightning:combobox not actually select anything?

I am using several lightning:combobox components on a form and notice that whenever I specify a field (e.g. value="{!v.contactFields.Gender__c}") for its value, it does not select the option I choose. ...
3
votes
1answer
962 views

Dynamically setting value of lightning combobox in javascript?

I have dynamically created lightning:comboboxes that are instantiated in my JavaScript controller for my lightning component. In my callback function after the component is created, I want to set the ...
0
votes
1answer
142 views

How to get more than just the value of a selected option in lightning:combobox?

I have a lightning combobox with data set up kind of like: [ { 'label':'blah', 'value':'bleh', 'otherThing':'test', 'finalThing':'another test' }, { ...
1
vote
2answers
1k views

Styling lightning:combobox drop down to not hide inside modal and extend modal length?

I am using the lightning:combobox standard component, and created a little UI that I then put in a modal window. It looks fine except for this issue.... I the drop down hides inside the modal ...
1
vote
1answer
407 views

Lightning combobox: sometimes is not selecting, option selected

Look to this video which tried to select an option and sometimes is happening and others not. Really weird behaviour. Booking Mode Select (starting at 0:22 sec): http://recordit.co/lnma8c6Okb <...
0
votes
1answer
101 views

Event on hovering over an option in a lightning:combobox

Is it possible to register an event on an option hovering in lightning:combobox? The best resource about the lightning:combobox I was able to find is this. It tells me nothing about the event I ...
0
votes
1answer
316 views

lightning:combobox change icon

If you notice the lightning:combobox component, you will see that there is an icon pointing downwards on click of which list box opens. Is there any way to change the icon pointing upwards ONLY when ...
0
votes
1answer
194 views

lightning:combobox remove icons from listbox

If you notice the lightning:combobox component, you will see that inside the container of list options, there is an icon just in front of the options. Is there any way to remove the icons?
1
vote
0answers
409 views

lightning:combobox readonly atrribute is not working

According to the lightning:combobox documentation readonly should be set to false, but in the markup it renders like this: <input type="text" role="textbox" ... readonly="true" class="slds-input"&...