<?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 Deprecated property warning in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deprecated-property-warning/m-p/1370498#M83346</link>
    <description>&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;I have a deprecation warning when using featureForm widget in Chrome. Here is what it says:&lt;/P&gt;&lt;P&gt;4.28/:132 [esri.form.elements.FieldElement] &lt;span class="lia-unicode-emoji" title=":stop_sign:"&gt;🛑&lt;/span&gt; DEPRECATED - Property: editable&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":hammer_and_wrench:"&gt;🛠&lt;/span&gt;️ Replacement: editableExpression&lt;BR /&gt;:gear:&lt;/img&gt; Version: 4.26&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how i set up the featureform:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  // Listen to the feature form's submit event.
    // Update feature attributes shown in the form.
    featureForm = new FeatureForm({
        map: map,
        container: "formDiv",
        layer: boundary,
        formTemplate: {
            elements: [
                {
                    type: "field",
                    fieldName: "SAP_Order",
                    label: "New Work Order #:"
                }
            ]
        }
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to remove this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2024 15:30:33 GMT</pubDate>
    <dc:creator>Alex_Gole</dc:creator>
    <dc:date>2024-01-16T15:30:33Z</dc:date>
    <item>
      <title>Deprecated property warning</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deprecated-property-warning/m-p/1370498#M83346</link>
      <description>&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;I have a deprecation warning when using featureForm widget in Chrome. Here is what it says:&lt;/P&gt;&lt;P&gt;4.28/:132 [esri.form.elements.FieldElement] &lt;span class="lia-unicode-emoji" title=":stop_sign:"&gt;🛑&lt;/span&gt; DEPRECATED - Property: editable&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":hammer_and_wrench:"&gt;🛠&lt;/span&gt;️ Replacement: editableExpression&lt;BR /&gt;:gear:&lt;/img&gt; Version: 4.26&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how i set up the featureform:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  // Listen to the feature form's submit event.
    // Update feature attributes shown in the form.
    featureForm = new FeatureForm({
        map: map,
        container: "formDiv",
        layer: boundary,
        formTemplate: {
            elements: [
                {
                    type: "field",
                    fieldName: "SAP_Order",
                    label: "New Work Order #:"
                }
            ]
        }
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to remove this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 15:30:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deprecated-property-warning/m-p/1370498#M83346</guid>
      <dc:creator>Alex_Gole</dc:creator>
      <dc:date>2024-01-16T15:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated property warning</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deprecated-property-warning/m-p/1370954#M83355</link>
      <description>&lt;P&gt;This warning does appear in the sample using FeatureForm, I was able to get it to go away by setting the editableExpression property to "true" for the field elements, which is the replacement for setting the deprecated editable property to true.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html#editable" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html#editable&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  // Listen to the feature form's submit event.
    // Update feature attributes shown in the form.
    featureForm = new FeatureForm({
        map: map,
        container: "formDiv",
        layer: boundary,
        formTemplate: {
            elements: [
                {
                    type: "field",
                    fieldName: "SAP_Order",
                    label: "New Work Order #:",
                    editableExpression: "true" //set editableExpression to "true"
                }
            ]
        }
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 14:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deprecated-property-warning/m-p/1370954#M83355</guid>
      <dc:creator>Justin_Greco</dc:creator>
      <dc:date>2024-01-17T14:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated property warning</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deprecated-property-warning/m-p/1371154#M83368</link>
      <description>&lt;P&gt;Thank you Justin!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 18:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deprecated-property-warning/m-p/1371154#M83368</guid>
      <dc:creator>Alex_Gole</dc:creator>
      <dc:date>2024-01-17T18:40:20Z</dc:date>
    </item>
  </channel>
</rss>

