How does the widget in iOS17 configure this kind of page?

I tried to use AppIntentConfiguration in iOS17 to fail to achieve such a dynamic configuration.

code: struct ConfigurationAppIntent: WidgetConfigurationIntent {

    static var title: LocalizedStringResource { "位置" }

    static var description: IntentDescription { "选择位置以展示城市天气" }

    @Parameter(title: "Select City", optionsProvider: CityOptionsProvider())

    var selectedCity: String?

}

How does the widget in iOS17 configure this kind of page?
 
 
Q