Hi,
I'm working on a custom widget that includes a slider to filter features based on a numeric field. It works initially, applying a SQL filter to a FeatureLayer using a slider. After refreshing the page or in preview mode, I get the error view:no-layerview-for-layer, likely because the layer view isn't ready when the widget tries to access it. I've tried using jimuLayerView.createLayerDataSource(), and different ways to access the layer, but the issue persists.
Any advice would be greatly appreciated!