Select to view content in your preferred language

Editor Widget Return to Ready State

310
1
05-08-2023 07:59 AM
MichaelWen_Timmons
Occasional Contributor

I have an app that uses JS API 4.26 Editor Widget to add new features to a map. It works well for the most part but there is one scenario where the workflow is less than ideal. Whenever I use a 'Create Feature' workflow the widget would not return to the 'Ready' state after the new feature is already created. I will need to click on the < button to the left of 'Place feature' to get back to the Ready state. This is inconvenient because users sometimes want to print the map right after the new feature was added. Is there a way to programmatically force the Editor widget to return to the 'Ready' state at the end of the 'Create Feature' workflow?

 

MichaelWen_Timmons_0-1683557797288.png

 

0 Kudos
1 Reply
MichaelWen_Timmons
Occasional Contributor

Anybody? This only became an issue after I upgraded JS API. It used to return to Ready state after you added a feature automatically.

0 Kudos