It seems that we can’t set a default option on widgets without getting a warning like this on our dashboards:
The widget with key “reporting” was created with a default value but also had its value set via the Session State API.
What’s the rationale for this?
It doesn’t seem right because the point of a default is that it’s used when no other value is specified. If there’s a value in the session state then that should (silently) override the default. The default only applies if there’s no existing session state.