<?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 Editor field filtering with coded values in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-field-filtering-with-coded-values/m-p/1231639#M79325</link>
    <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;I have a problem with the Editor Widget on Arcgis JS Api 4.24 (and 4.25) .&lt;BR /&gt;Using the editor, I try to filter a field that has coded values on it.&lt;/P&gt;&lt;P&gt;The problem I'm having is that I can't filter the values of the field.&lt;BR /&gt;The field seems to be filtered only on the keys of the coded values, not the labels.&lt;/P&gt;&lt;P&gt;In the example proposed in the documentation (&lt;A href="http://link" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-basic/)&lt;/A&gt;, the features of the layer have fields with coded values whose key and value are identical.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_0-1668508117736.png" style="width: 800px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55955i1910A70F04D881B0/image-dimensions/800x14?v=v2" width="800" height="14" role="button" title="JB19_0-1668508117736.png" alt="JB19_0-1668508117736.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So when I filter the field, it works as expected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_3-1668508801679.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55958i7825A22AA2B546DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JB19_3-1668508801679.png" alt="JB19_3-1668508801679.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For my part, this is not the case.&amp;nbsp;My coded values keys are integers and different from their string values :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_1-1668508273173.png" style="width: 800px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55956i6C4B34FD54609E2D/image-dimensions/800x10?v=v2" width="800" height="10" role="button" title="JB19_1-1668508273173.png" alt="JB19_1-1668508273173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because of this, I can filter the field by the coded values keys but not the label (the input doesn't let me type letters).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_2-1668508399440.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55957iC3ACCFAE6FBB5D8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JB19_2-1668508399440.png" alt="JB19_2-1668508399440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way for me to filter the values on the labels ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 10:48:26 GMT</pubDate>
    <dc:creator>JB19</dc:creator>
    <dc:date>2022-11-15T10:48:26Z</dc:date>
    <item>
      <title>Editor field filtering with coded values</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-field-filtering-with-coded-values/m-p/1231639#M79325</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;I have a problem with the Editor Widget on Arcgis JS Api 4.24 (and 4.25) .&lt;BR /&gt;Using the editor, I try to filter a field that has coded values on it.&lt;/P&gt;&lt;P&gt;The problem I'm having is that I can't filter the values of the field.&lt;BR /&gt;The field seems to be filtered only on the keys of the coded values, not the labels.&lt;/P&gt;&lt;P&gt;In the example proposed in the documentation (&lt;A href="http://link" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-basic/)&lt;/A&gt;, the features of the layer have fields with coded values whose key and value are identical.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_0-1668508117736.png" style="width: 800px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55955i1910A70F04D881B0/image-dimensions/800x14?v=v2" width="800" height="14" role="button" title="JB19_0-1668508117736.png" alt="JB19_0-1668508117736.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So when I filter the field, it works as expected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_3-1668508801679.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55958i7825A22AA2B546DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JB19_3-1668508801679.png" alt="JB19_3-1668508801679.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For my part, this is not the case.&amp;nbsp;My coded values keys are integers and different from their string values :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_1-1668508273173.png" style="width: 800px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55956i6C4B34FD54609E2D/image-dimensions/800x10?v=v2" width="800" height="10" role="button" title="JB19_1-1668508273173.png" alt="JB19_1-1668508273173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because of this, I can filter the field by the coded values keys but not the label (the input doesn't let me type letters).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_2-1668508399440.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55957iC3ACCFAE6FBB5D8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JB19_2-1668508399440.png" alt="JB19_2-1668508399440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way for me to filter the values on the labels ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 10:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-field-filtering-with-coded-values/m-p/1231639#M79325</guid>
      <dc:creator>JB19</dc:creator>
      <dc:date>2022-11-15T10:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Editor field filtering with coded values</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-field-filtering-with-coded-values/m-p/1270780#M80638</link>
      <description>&lt;P&gt;It seems that I misunderstood the reason of the issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JB19_0-1679560782908.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66043i49A624B0E8C2F7B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="JB19_0-1679560782908.png" alt="JB19_0-1679560782908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These two fields are quite similar, but one of them is `&lt;I&gt;esriFieldTypeSmallInteger&lt;/I&gt;`.&lt;BR /&gt;Because of that, the search input of the field's combobox is not accepting letters.&lt;BR /&gt;It means that the user cannot search a value in the comcobox by its name, which is quite strange.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 09:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-field-filtering-with-coded-values/m-p/1270780#M80638</guid>
      <dc:creator>JB19</dc:creator>
      <dc:date>2023-03-23T09:05:03Z</dc:date>
    </item>
  </channel>
</rss>

