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

New-UDAutocompleteOption

Creates a new autocomplete option.

Synopsis

Creates a new autocomplete option.

Syntax

New-UDAutocompleteOption [-Name] <String> [-Value] <String> [[-Group] <String>] [<CommonParameters>]

Description

Creates a new autocomplete option. This cmdlet is to be used with New-UDAutocomplete. Pass the result of this cmdlet to the -Options parameter to create a new option.

Parameters

-Name

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

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

-Value

The value of the autocomplete option. This will be passed back to New-UDForm -OnSubmit or the $EventData for -OnChange on New-UDAutocomplete.

-Group

The group to which this option belongs. This is used to group options in the autocomplete dropdown.

Last updated

Was this helpful?