I tried to modify this example to disable the editing of geometry of existing features, but it doesn't work. Bug?
https://codepen.io/lkoumis1/pen/MWLZPyJ?editors=1000
const editor = new Editor({
view: view,
// Pass in the configurations created above
layerInfos: [{
layer:editConfigCrimeLayer,
geometryUpdatesEnabled: false
},
{layer:editConfigPoliceLayer,
geometryUpdatesEnabled: false
}],
Reference: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html#layerInfos