+ ${options.map(
+ (option) =>
+ html`
this.onOptionClick(option.value)}
+ >
+ ${option.label}
+
`
+ )}
+
+ `
}
- private setValue (value: string) {
- this.filter = value.toLowerCase()
- this.value = value
+ private getOptions (): { value: string; label: string }[] {
+ const options = this.querySelectorAll