{"version":1,"customWidget":{"_id":"Q7hhk2kTXRKaTkovM","name":"Auto Advance - Single Select","props":[{"name":"Options","type":["string"],"requireWriteable":false,"id":"Y7m2r3C5eEELSZ6Hq"}],"events":[{"name":"Value Selected","id":"9Fx8wEMux6JxBasvF","type":"string"}],"html":"
\n \n","javascript":"\ndocument.getElementById('opts').addEventListener(\"change\", function (evt) {\n return_val();\n}, false);\n\ngetValue('Options', (internalVariable) => {buildList(internalVariable);});\n\nfunction buildList(opts){\n console.log(opts);\n optionsList = document.getElementById(\"opts\");\n optionsList.innerHTML = ''\n \n for(i=0;i