For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDSelectOption

Synopsis

Creates a new select option.

Syntax

New-UDSelectOption [-Name] <String> [[-Value] <String>] [[-Icon] <Object>] [-Disabled] [<CommonParameters>]

Description

Creates a new select option. This cmdlet is to be used with New-UDSelect. Pass the result of this cmdlet to the -Option parameter to create a new select group.

Parameters

-Name

The name of the select option. This will be shown in the select.

Required?                    true
Position?                    1
Default value
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Value

Thevalue of the select option. This will be passed back to New-UDForm -OnSubmit or the $EventData for -OnChange on New-UDSelect.

-Icon

The icon to show next to the textbox. Use New-UDIcon to create an icon.

-Disabled

Whether this option is disabled.

Common parameters

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Last updated

Was this helpful?