Optional Parameter using WidgetConfigurationIntent

Hi there,

I'm adding a new widget using the new WidgetConfigurationIntent which takes a number of parameters, including one which conforms to AppEntity. It is defined as an optional.

When the user is configuring the widget, after one of the suggested entities is chosen, there is no way to return to a state where this value is nil. Is this possible? I'd like the user to be able to select "None" for this parameter. For now, I'm using a bool to determine whether the AppEntity parameter is used.

Thanks!

Did you ever find a solution?

Optional Parameter using WidgetConfigurationIntent
 
 
Q