Contents

widgetDefaultStringValue

The string value that the widget reverts to when performing a reset form action.

Declaration

var widgetDefaultStringValue: String? { get set }

Discussion

For text and choice widgets, this property specifies the string value that a reset form action sets on a widget.

For radio buttons and checkboxes, set this property to Off if the desired default is for the button to be in an unselected state; otherwise, set it to the buttonWidgetStateString.

See Also

Configuring Widget Annotations