Avoid HTML escaping in selected option
This commit is contained in:
parent
79b2ef4890
commit
3f9ff76d93
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ export class BetterSelect extends HTMLElement {
|
|||
|
||||
/** @param {HTMLElement} option */
|
||||
setOption(option) {
|
||||
this.setValue(option.dataset.value, option.innerHTML)
|
||||
this.setValue(option.dataset.value, option.innerText)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue