What changed from 3.9 to 3.10 to break this example: Default editing widget | ArcGIS API for JavaScript
If you go into the sandbox and change the references to 3.9 the example comes back to life. My application has similarly broken under 3.10 using very similar code to this example.
Other editor examples are still working under version 3.10. So is there a problem with the example that I'm not seeing?
The sample needs to be updated to start the editor after creating it. Here's the code you'll want to add after the line that creates the editor. This change was due to some updates in the Editor widget between 3.9 and 3.10.
editorWidget.startup();
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.