How do I remove unneeded controls?
When you're adding controls through the Basic Editor, you might sometimes add a duplicate control by accident, or add a control that says "No values found for [some field name]". To remove any of those unneeded controls, you can use the Advanced Editor.
Open up the Advanced Editor, and, unless you have added partial views, there will be a block of code right at the top starting with
// Line 1 of your Advanced Editor:
...There will be other code inside this block
If you don't want any controls or "No values found for [some field name]" messages on your map, simply delete the entire
@controlsblock, then click "Save" at the bottom of the editor.
If you have some controls in there that you would like to preserve, you'll first need to learn the basics of how to read
@controlscode, so that you can tell which controls you want to delete and which you want to keep. You can learn more about reading
@controlscode in our full guide on controls.