|
|
@ -39,7 +39,6 @@ export default PropertyView.extend({ |
|
|
const name = model.getOptionLabel(id); |
|
|
const name = model.getOptionLabel(id); |
|
|
const style = option.style ? option.style.replace(/"/g, '"') : ''; |
|
|
const style = option.style ? option.style.replace(/"/g, '"') : ''; |
|
|
const styleAttr = style ? `style="${style}"` : ''; |
|
|
const styleAttr = style ? `style="${style}"` : ''; |
|
|
console.log({ option, id }); |
|
|
|
|
|
const value = id.replace(/"/g, '"'); |
|
|
const value = id.replace(/"/g, '"'); |
|
|
optionsRes.push(`<option value="${value}" ${styleAttr}>${name}</option>`); |
|
|
optionsRes.push(`<option value="${value}" ${styleAttr}>${name}</option>`); |
|
|
}); |
|
|
}); |
|
|
|