diff --git a/src/style_manager/view/PropertyRadioView.js b/src/style_manager/view/PropertyRadioView.js index 19584330a..0958b4ace 100644 --- a/src/style_manager/view/PropertyRadioView.js +++ b/src/style_manager/view/PropertyRadioView.js @@ -17,6 +17,8 @@ export default PropertyView.extend({ const model = this.model; const prop = model.get('property'); const options = model.get('list') || model.get('options') || []; + const { cid } = model; + const clsInput = `${pfx}radio ${pfx}radio-${prop}`; if (!this.input) { if (options && options.length) { @@ -24,12 +26,12 @@ export default PropertyView.extend({ options.forEach(el => { let cl = el.className ? `${el.className} ${pfx}icon ${itemCls}` : ''; - let id = `${prop}-${el.value}`; + let id = `${prop}-${el.value}-${cid}`; let labelTxt = el.name || el.value; let titleAttr = el.title ? `title="${el.title}"` : ''; inputStr += `