How would I set the value in the following lightning-combobox? I was using this to set a variable but I the console.log really does not give me what I'm looking for. When I run the following...
let inp = this.template.querySelectorAll('[data-id="ownerfilter"]'); console.log('2 here is the value of the inp ' + inp);
I get [object NodeList]{ key: {"namespace":"c"} } in the console.
<lightning-combobox
lwc:ref="myDiv"
data-id="ownerfilter"
name="ownerfilter"
label="Select Owner"
options={ownerChoices}
placeholder="Select Owner"
value={value}
onchange={ownerfilterchange}
class="FilterStyle">
</lightning-combobox>
Any help is greatly appreciated!!
Frank