{"ScriptPreparationCode":"var e = {};\r\ne.item = document.body;\r\ne.data = {\r\n isRequired: true,\r\n header: \u0027something\u0027\r\n}","TestCases":[{"Name":"template literal","Code":"e.item.innerHTML = \u0060\u003Cdiv class=\u0022wj-listbox-item__inner\u0022\u003E\u0060\u002B\r\n \u0060\u003Cinput class=\u0022wj-listbox-item__input\u0022 type=\u0022checkbox\u0022\u003E\u0060 \u002B\r\n \u0060\u003Cspan class=\u0022wj-listbox-item__label\u0022\u003E${e.data.header}\u003C/span\u003E\u0060\u002B\r\n \u0060\u003C/div\u003E\u0060;\r\n\r\nif(e.data.isRequired) { const checkbox = e.item.querySelector(\u0027input[type=\u0022checkbox\u0022\u0027); if(checkbox){ checkbox.setAttribute(\u0022disabled\u0022, true); } }","IsDeferred":false},{"Name":"query selector","Code":"e.item.innerHTML = \u0060\u003Cdiv class=\u0022wj-listbox-item__inner\u0022\u003E\u0060\u002B\r\n \u0060\u003Cinput class=\u0022wj-listbox-item__input\u0022 type=\u0022checkbox\u0022 ${e.data.isRequired ? \u0027disabled\u0027 : \u0027\u0027 }\u003E\u0060 \u002B\r\n \u0060\u003Cspan class=\u0022wj-listbox-item__label\u0022\u003E${e.data.header}\u003C/span\u003E\u0060\u002B\r\n \u0060\u003C/div\u003E\u0060;\r\n","IsDeferred":false}]}