reports
reports copied to clipboard
FB13132205: The description for @Parameter (IntentParameter) in an WidgetConfigurationIntent does not show up in the widget configuration screen
- Date: 2023-09-07
- Resolution: Open
- Area: App Intents
- OS: iOS 17
- Type: Incorrect/Unexpected Behavior
Description
See the sample code and notice in the attached screenshot how the “Album” setting is missing a description.
struct AlbumConfiguration: AppIntent, WidgetConfigurationIntent {
static let title: LocalizedStringResource = "Album"
static let description = IntentDescription("Configuration for widget")
static let isDiscoverable = false
@Parameter(
title: "Album",
description: "Some description"
)
var album: PhotoAlbumAppEntity?
// ...
}
Just adding here that I would love to see this parameter description in the widget configuration UI as well. There are certain controls which could really use some extra context.