Set initial form value to ""

This commit is contained in:
Talia 2024-12-18 15:38:11 +01:00
parent 4807fd039b
commit 1bf89ec64c
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E

View file

@ -144,6 +144,7 @@ export class BetterSelect extends HTMLElement {
</dialog>
`
this.shadowRoot.adoptedStyleSheets = [BetterSelect.styleSheet]
this.#internals.setFormValue("", "")
this.tabIndex = 0