I want to use the UI5 Web Component "Select" for my Site, but the dropdown doesn't open.
I'm using Lit-HTML, Typescript and Webpack.
I copied the example from the Playground into my code and imported both modules (Select, StandardListItem).
The exact example as well as my changed version doesn't work.
But it shows the li-Element with the Attribute selected
.
I also use a few other UI5 Components, like Input or Datepicker, which works fine.
The Select Element:
<ui5-select class="select" id="sex">
<ui5-li selected>Weiblich</ui5-li>
<ui5-li>Männlich</ui5-li>
<ui5-li>Andere</ui5-li>
</ui5-select>
And I imported:
import '@ui5/webcomponents/dist/Select';
import '@ui5/webcomponents/dist/StandardListItem';
I expected an dropdown menu, but nothing happens when I click on the little arrow or the field.