Use textContent to not escape html entities in Select options
This commit is contained in:
parent
976354a2c0
commit
a9e0f79d89
2 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@
|
|||
this.findChild((child) => {
|
||||
options.push({
|
||||
value: child.value,
|
||||
label: (child.label === undefined) ? child.$el.innerHTML : child.label
|
||||
label: (child.label === undefined) ? child.$el.textContent : child.label
|
||||
});
|
||||
child.index = index++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue