<?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: 4.14 date and number field validation broken in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246471#M22833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stacy,&lt;/P&gt;&lt;P&gt;Could you clarify further what you are experiencing? Maybe a test app showing the problem. I have one set up on my end, with date and number fields configured on the server to not allow NULL values. If I remove a value and proceed to the next field input, I always get a warning within the FeatureForm indicating that it needs a valid input.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480565_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2020 01:25:08 GMT</pubDate>
    <dc:creator>HeatherGonzago</dc:creator>
    <dc:date>2020-02-07T01:25:08Z</dc:date>
    <item>
      <title>4.14 date and number field validation broken</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246470#M22832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt;Editing Date fields through either FeatureForm or Editor widget is broken because&amp;nbsp;the API treats a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #222222; background-color: #ffffff; font-size: small;"&gt;null&lt;/STRONG&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;value as valid date/number, even if the field is specified as &lt;STRONG&gt;required&lt;/STRONG&gt;&amp;nbsp;and has a &lt;STRONG&gt;RangeDomain.&lt;/STRONG&gt;&amp;nbsp;Docs:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm-FieldConfig.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm-FieldConfig.html"&gt;FieldConfig | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt;This means that when creating a new feature the user can just "click through" date/number fields without entering anything (recorded as a null) (or if editing, deleting the existing values) and the API will accept this &lt;STRONG&gt;null&lt;/STRONG&gt; value as valid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt;Should FieldConfig support a&amp;nbsp;&lt;STRONG&gt;nullable&amp;nbsp;&lt;/STRONG&gt;(boolean) option?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 18:16:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246470#M22832</guid>
      <dc:creator>Stacy-Rendall</dc:creator>
      <dc:date>2020-02-05T18:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: 4.14 date and number field validation broken</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246471#M22833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stacy,&lt;/P&gt;&lt;P&gt;Could you clarify further what you are experiencing? Maybe a test app showing the problem. I have one set up on my end, with date and number fields configured on the server to not allow NULL values. If I remove a value and proceed to the next field input, I always get a warning within the FeatureForm indicating that it needs a valid input.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480565_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 01:25:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246471#M22833</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2020-02-07T01:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: 4.14 date and number field validation broken</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246472#M22834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Heather, applying on the server sounds like it should fix, I will test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, my original issue still stands: specifying &lt;STRONG&gt;required&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;RangeDomain&lt;/STRONG&gt; in the FieldConfig is not working for number and date fields because "null" is considered valid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 17:16:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246472#M22834</guid>
      <dc:creator>Stacy-Rendall</dc:creator>
      <dc:date>2020-02-07T17:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: 4.14 date and number field validation broken</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246473#M22835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any further update? As I said below:&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;my original issue still stands: specifying&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;required&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;RangeDomain&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the FieldConfig is not working for number and date fields because "null" is considered valid&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stacy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Feb 2020 23:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-14-date-and-number-field-validation-broken/m-p/246473#M22835</guid>
      <dc:creator>Stacy-Rendall</dc:creator>
      <dc:date>2020-02-16T23:48:04Z</dc:date>
    </item>
  </channel>
</rss>

