<?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: NumberTextBox glitch? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/numbertextbox-glitch/m-p/855314#M11330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lefteris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is what I use in my eSearch widget for numeric entry:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;input data-dojo-attach-point="numberTextBox" data-dojo-type="dijit/form/NumberTextBox"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data-dojo-props="intermediateChanges:true,constraints: {pattern: '#####0.##########'}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class="dijit-form-NumberTextBox" style="display:none;width:100%;height:30px;" /&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 10:34:26 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-12T10:34:26Z</dc:date>
    <item>
      <title>NumberTextBox glitch?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/numbertextbox-glitch/m-p/855313#M11329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a coordinate widget that has two text boxes to accept the long and lat from the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the dijit/form/NumberTextBox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, I didn't use any constraints but it seems it would not display any numbers with more than 3 decimal places!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I introduced the constraints and specify decimal places. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the constrainsts, the NumberTextBox will display more than 3 decimal places but it prompts that this is not a numeric value!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input id="longitude" type="text"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data-dojo-type="dijit/form/NumberTextBox"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name= "long"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; required="true"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data-dojo-props="constraints:{min:-900000000000,max:900000000000,places:10}, invalidMessage:'Please enter a numeric value.'" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/131387_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 16:39:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/numbertextbox-glitch/m-p/855313#M11329</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2015-10-15T16:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: NumberTextBox glitch?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/numbertextbox-glitch/m-p/855314#M11330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lefteris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is what I use in my eSearch widget for numeric entry:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;input data-dojo-attach-point="numberTextBox" data-dojo-type="dijit/form/NumberTextBox"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data-dojo-props="intermediateChanges:true,constraints: {pattern: '#####0.##########'}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class="dijit-form-NumberTextBox" style="display:none;width:100%;height:30px;" /&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/numbertextbox-glitch/m-p/855314#M11330</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: NumberTextBox glitch?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/numbertextbox-glitch/m-p/855315#M11331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I used the pattern and it works. I will mark this as answered but the dojo documentation should list any limitations with the NumberTextBox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 16:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/numbertextbox-glitch/m-p/855315#M11331</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2015-10-15T16:54:12Z</dc:date>
    </item>
  </channel>
</rss>

