|
@@ -34,7 +34,7 @@ export function existOptionInSelectControl (selectControl, value) {
|
|
|
const options = getOptionsFromSelectControl(selectControl)
|
|
const options = getOptionsFromSelectControl(selectControl)
|
|
|
|
|
|
|
|
for (let i = 0; i < options.length; i++) {
|
|
for (let i = 0; i < options.length; i++) {
|
|
|
- if (options[i].value === value.toString()) {
|
|
|
|
|
|
|
+ if (options[i].value === Utils.unescapeHTML(value.toString())) {
|
|
|
// The value is not valid to add
|
|
// The value is not valid to add
|
|
|
return true
|
|
return true
|
|
|
}
|
|
}
|