<?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 FieldElement is ignoring input type if field returns Number instead of String from database in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fieldelement-is-ignoring-input-type-if-field/m-p/1076178#M73756</link>
    <description>&lt;P&gt;When using the FeatureForm widget on version 4.20 of the ArcGIS API for JavaScript, certain fields are not rendering with the correct input type.&amp;nbsp; Fields that are added to the form in the formTemplate.elements property as a FieldElement are not using the designated input type if the field comes from the database as an&amp;nbsp;&lt;I&gt;esriFieldTypeSmallInteger&amp;nbsp;&lt;/I&gt;instead of an&amp;nbsp;&lt;I&gt;esriFieldTypeString&lt;/I&gt;.&amp;nbsp; The input types that were tried were ComboBoxInput and RadioButtonInput.&amp;nbsp; Coded-value domains are required for these input types, and were being provided when the broken functionality was encountered.&lt;/P&gt;&lt;P&gt;In these instances, the affected field that returns a&amp;nbsp;&lt;I&gt;esriFieldTypeSmallInteger&amp;nbsp;&lt;/I&gt;from the database is being rendered in a Number field instead of the designated input type for the field in the FeatureForm.formTemplate.elements property.&lt;/P&gt;&lt;P&gt;Since the code property in CodedValue entries in a CodedValueDomain can be a String or Number, these input types should be able to use fields that return a Number instead of a String from the database.&amp;nbsp; Please allow fields that return&amp;nbsp;&lt;I&gt;esriFieldTypeSmallInteger&amp;nbsp;&lt;/I&gt;from the database to use custom input types when designated in a FieldElement object in the FeatureForm.formTemplate.elements property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 03:26:08 GMT</pubDate>
    <dc:creator>Samuel_Weissman</dc:creator>
    <dc:date>2021-07-07T03:26:08Z</dc:date>
    <item>
      <title>FieldElement is ignoring input type if field returns Number instead of String from database</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fieldelement-is-ignoring-input-type-if-field/m-p/1076178#M73756</link>
      <description>&lt;P&gt;When using the FeatureForm widget on version 4.20 of the ArcGIS API for JavaScript, certain fields are not rendering with the correct input type.&amp;nbsp; Fields that are added to the form in the formTemplate.elements property as a FieldElement are not using the designated input type if the field comes from the database as an&amp;nbsp;&lt;I&gt;esriFieldTypeSmallInteger&amp;nbsp;&lt;/I&gt;instead of an&amp;nbsp;&lt;I&gt;esriFieldTypeString&lt;/I&gt;.&amp;nbsp; The input types that were tried were ComboBoxInput and RadioButtonInput.&amp;nbsp; Coded-value domains are required for these input types, and were being provided when the broken functionality was encountered.&lt;/P&gt;&lt;P&gt;In these instances, the affected field that returns a&amp;nbsp;&lt;I&gt;esriFieldTypeSmallInteger&amp;nbsp;&lt;/I&gt;from the database is being rendered in a Number field instead of the designated input type for the field in the FeatureForm.formTemplate.elements property.&lt;/P&gt;&lt;P&gt;Since the code property in CodedValue entries in a CodedValueDomain can be a String or Number, these input types should be able to use fields that return a Number instead of a String from the database.&amp;nbsp; Please allow fields that return&amp;nbsp;&lt;I&gt;esriFieldTypeSmallInteger&amp;nbsp;&lt;/I&gt;from the database to use custom input types when designated in a FieldElement object in the FeatureForm.formTemplate.elements property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 03:26:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/fieldelement-is-ignoring-input-type-if-field/m-p/1076178#M73756</guid>
      <dc:creator>Samuel_Weissman</dc:creator>
      <dc:date>2021-07-07T03:26:08Z</dc:date>
    </item>
  </channel>
</rss>

