Closed bogibrynjar closed 10 years ago
i was able to get the editor toolbar to display on browsers in the desktop by adding an additional configuration option within index.html
var defaults = {
...
"displaytoolbar": true
}
i realized this was necessary by looking at the Editor widget constructor logic in CreateContent.js https://github.com/Esri/edit-template/blob/master/javascript/CreateContent.js#L237
including the option and setting it to 'false' by default would make configuring this option a little simpler.
Hey @jgravois
Thanks for the quick replay and advice. That was what I did originally but I must have coded it wrong somehow because it didn't work but it did this time when I copy/pasted your syntax completely into the defaults. Problem solved.
Cheers!
glad to hear it. take care.
Hi @kellyhutchins ,
I downloaded the template for this simple editor template and configured it to use a web map that contains a hosted editable feature service. Everything works fine and well except I can not get the editor toolbar to display. How can I make the toolbar display by changing the template code?
Thanks in advance.