FeatureForm editing not working properly in 4.21

106
2
a month ago
MKY
by
New Contributor III

In 4.21 editing multiple date fields is not working properly. Updaing one date field also updates the second date field.

Also, using element type field with includetime= false does not update the field

{
    type: "field",
    fieldName: "EndDate",
    label: "End Date",
    input:{
        includeTime: false,
        type:"datetime-picker"
    }
}

I've created a codepen project.

https://codepen.io/markoskifle/pen/yLMgaKm?editors=1000 

 

 

Tags (2)
0 Kudos
2 Replies
HeatherGonzago
Esri Contributor

Thanks @MKY

We are looking into this now. Thank you.

0 Kudos
HeatherGonzago
Esri Contributor

Also, regarding `includeTime` update the snippet to set the FieldElement's input.

{
  type: "field",
  fieldName: "insp_date",
  label: "Date of inspection",
  input: {
    type: "datetime-picker",
    includeTime: false
  }
}
0 Kudos