<?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 GroupFilter Widget Causing Log Errors in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/groupfilter-widget-causing-log-errors/m-p/851213#M10889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to find a way to restrict users from being able to enter text into the GroupFilter Widget when searching for values. See picture below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/404272_Picture1.png" style="width: 271px; height: 251px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I want to restrict&amp;nbsp;users from entering in&amp;nbsp;free text is because our organization is noticing a large number of errors in our logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Underlying DBMS error [ERROR: invalid input syntax for integer: "" LINE 1: .... table where ((( (work_id = '' OR work.... ^::SQL stat: 22P02] [work_id]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After spending some time looking into this I noticed that when using a dijit.form.FilteringSelect and entering in an invalid value the return is a blank string.&amp;nbsp;My thought is if I change the dijit.form.FilteringSelect to a dijit.form.Select that I may be able to solve this problem.The issue I am having at the moment is that I cannot see any reference to the dijit.form.FilteringSelect in the GroupFilter code but the images below show reference to the FilteringSelect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/404295_Picture1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like it to act similar to the&amp;nbsp;image below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/404294_Picture1.png" /&gt;&lt;/P&gt;&lt;P&gt;Any help or guidance on this issue would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; background-color: #e5edf4; font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2018 20:16:18 GMT</pubDate>
    <dc:creator>MarkEastwood</dc:creator>
    <dc:date>2018-04-27T20:16:18Z</dc:date>
    <item>
      <title>GroupFilter Widget Causing Log Errors</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/groupfilter-widget-causing-log-errors/m-p/851213#M10889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to find a way to restrict users from being able to enter text into the GroupFilter Widget when searching for values. See picture below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/404272_Picture1.png" style="width: 271px; height: 251px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I want to restrict&amp;nbsp;users from entering in&amp;nbsp;free text is because our organization is noticing a large number of errors in our logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Underlying DBMS error [ERROR: invalid input syntax for integer: "" LINE 1: .... table where ((( (work_id = '' OR work.... ^::SQL stat: 22P02] [work_id]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After spending some time looking into this I noticed that when using a dijit.form.FilteringSelect and entering in an invalid value the return is a blank string.&amp;nbsp;My thought is if I change the dijit.form.FilteringSelect to a dijit.form.Select that I may be able to solve this problem.The issue I am having at the moment is that I cannot see any reference to the dijit.form.FilteringSelect in the GroupFilter code but the images below show reference to the FilteringSelect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/404295_Picture1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like it to act similar to the&amp;nbsp;image below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/404294_Picture1.png" /&gt;&lt;/P&gt;&lt;P&gt;Any help or guidance on this issue would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; background-color: #e5edf4; font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 20:16:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/groupfilter-widget-causing-log-errors/m-p/851213#M10889</guid>
      <dc:creator>MarkEastwood</dc:creator>
      <dc:date>2018-04-27T20:16:18Z</dc:date>
    </item>
  </channel>
</rss>

