Hello,
I'm using Arcgis JS api 4.23 with angular using the arcgis/core package
I have an offline featurelayer, with no url, and the source is set to an empty array
when using the editor widget, I start drawing the graphic, the lines show fine, as soon as I double click to finish drawing, the shape (line or polygon) symbology disappears,
and only the vertices are still shown.
When saving and ending the add operation, the feature is displayed again properly.
what I already tried:
Added a renderer for layer.
Setting the drawing symbol of the editor widget's through supportingWidgetDefaults.sketch.polylineSymbol
Hide all layers, thinking it may go beneith any layer.
Following are screenshots of the different drawing phases,
second one shows the disappearance of the shape.
While drawing:

After completing the draw (double click)

After saving:
