Get selectedOptions on sl-select with Shoelace.style

Viewed 10

I have an <sl-select> element from Shoelace.style.

I have selected it in my script but unlike the native <select>, it doesn't appear to have a selectedOptions property.

Is there an alternative? or how can I get selectedOptions from it?

What options do I have here?

0 Answers
Related