Editor widget should show only editable layers and only if they are visible.
in API 2.24, it behaved so.
But in API 45.29, Editor widget displays an editable layer even if it is nonvisible on the map. And it also displays non-editable layers. It only displays them in "bright" colors.
How can I make the API 4.29 Editor widget behave as in API 4.24?