<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ListInput problem in WAB in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767074#M1282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried basic sample from your example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE data-tab-size="8" style="color: #24292e; background-color: #ffffff;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;ListInput&lt;/SPAN&gt;({&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="23" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;name&lt;SPAN class="" style="color: #d73a49;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #032f62;"&gt;'Dynamic'&lt;/SPAN&gt;,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="24" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;value&lt;SPAN class="" style="color: #d73a49;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #032f62;"&gt;"Hello!, it's Dojox!, :)"&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="25" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;}, &lt;SPAN class="" style="color: #005cc5;"&gt;this&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;listNode&lt;/SPAN&gt;);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;and i get a.destroy is not a function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2018 06:08:44 GMT</pubDate>
    <dc:creator>MatejSkerjanc</dc:creator>
    <dc:date>2018-04-03T06:08:44Z</dc:date>
    <item>
      <title>ListInput problem in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767071#M1279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;i've assembled a crude test&amp;nbsp;&lt;A class="link-titled" href="http://jsfiddle.net/99trj2em/" title="http://jsfiddle.net/99trj2em/"&gt;Dojo JSFiddle Template - JSFiddle&lt;/A&gt;&amp;nbsp; of list input. This works flawlessly in jsfiddle but in WAB custom widget the input reports errors.&lt;/P&gt;&lt;P&gt;Has anyone used this cool dojo widget ListInput successfully in WAB developers edition? Or did anyone else get this issue and solved it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Matej&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 11:01:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767071#M1279</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2018-03-30T11:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: ListInput problem in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767072#M1280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can visit &lt;A href="https://github.com/AdriSolid/WAB-Custom-Widgets"&gt;my GitHub&lt;/A&gt;. I just added an example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 12:37:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767072#M1280</guid>
      <dc:creator>Adri2cPérez_Beneito</dc:creator>
      <dc:date>2018-03-30T12:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: ListInput problem in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767073#M1281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello mrs Adri2c&lt;/P&gt;&lt;P&gt;havent had the chance to test since i've used multi select instead for the moment, but what makes your example tick?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the define line&amp;nbsp;&lt;SPAN class="" style="color: #032f62; background-color: #ffffff;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #032f62; background-color: #ffffff;"&gt;&lt;SPAN&gt;xstyle/css!&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdojotoolkit.org%2Fscripts%2Fdojo%2Fdojox%2Fform%2Fresources%2FListInput.css" rel="nofollow" target="_blank"&gt;https://dojotoolkit.org/scripts/dojo/dojox/form/resources/ListInput.css&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #032f62; background-color: #ffffff;"&gt;' ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #032f62; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #032f62; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 05:02:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767073#M1281</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2018-04-03T05:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: ListInput problem in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767074#M1282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried basic sample from your example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE data-tab-size="8" style="color: #24292e; background-color: #ffffff;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;ListInput&lt;/SPAN&gt;({&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="23" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;name&lt;SPAN class="" style="color: #d73a49;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #032f62;"&gt;'Dynamic'&lt;/SPAN&gt;,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="24" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;value&lt;SPAN class="" style="color: #d73a49;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #032f62;"&gt;"Hello!, it's Dojox!, :)"&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="25" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;}, &lt;SPAN class="" style="color: #005cc5;"&gt;this&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;listNode&lt;/SPAN&gt;);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;and i get a.destroy is not a function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 06:08:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767074#M1282</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2018-04-03T06:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: ListInput problem in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767075#M1283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dojox Input List needs this css style. Here getting it using http.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hm, are you using 'data-dojo-attach-point' instead of 'id' in your html file? Also be careful with the order of imports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 06:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767075#M1283</guid>
      <dc:creator>Adri2cPérez_Beneito</dc:creator>
      <dc:date>2018-04-03T06:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: ListInput problem in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767076#M1284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used both ways attach point and regular div. Both provide same result - same error as mentioned above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 06:36:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767076#M1284</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2018-04-03T06:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: ListInput problem in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767077#M1285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.pastiebin.com/5ac321f83c11c" title="https://www.pastiebin.com/5ac321f83c11c"&gt;Pastiebin.com 5ac321f83c11c&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the part of the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 06:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767077#M1285</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2018-04-03T06:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: ListInput problem in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767078#M1286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;god...i noticed the issue at least the general vicinity of issue. I've extended array with distinct i guess it doesnt like it. I'll check what's going on. Thanks for the sample i marked it as solved and valid!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// if (!Array.prototype.distinct) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// Array.prototype.distinct = function () {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// function onlyUnique(value, index, self) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// return self.indexOf(value) === index;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// if (Array.prototype.filter) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// return this.filter(onlyUnique);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// else {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// var o = {}, a = [], i, e;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// for (i = 0; e = this&lt;I&gt;; i++) { o&lt;E&gt; = 1 };&lt;/E&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// for (e in o) { a.push(e) };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// return a;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #608b4e;"&gt;// }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 06:49:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/listinput-problem-in-wab/m-p/767078#M1286</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2018-04-03T06:49:28Z</dc:date>
    </item>
  </channel>
</rss>

