i'm facing an issue with the lightning-combobox standard comoponent. I can't achieve to change it's value programmatically.
I use the following code :
Markup :
<lightning-combobox
class="start-select"
label="Select Start"
options={startOptions}
onchange={handleOvertimeStartChange} ></lightning-combobox>
And my code to change to value :
const startSelect = this.template.querySelector(".start-select");
if (startSelect) {
startSelect.value = this.startValue;
}
but the selected value of the combobox doesn't change on the UI.
Any clue about that ?
Thanks in advance