API Reference
Command
New-HtmlXInputGroupSelect
Adds a select control as the central control of the current input group.
Remarks
Use inside New-HtmlXInputGroup { }.
Examples
New-HtmlXInputGroupSelect -Name "product" -Options @("HtmlForgeX", "Email")
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HtmlXInputGroupSelect [-Multiple] [-Name <string>] [-OptionMap <IDictionary>] [-Options <string[]>] [-Required] [-Searchable] [-Selected <string>] [-SelectedMany <string[]>] [-TagsMode] [<CommonParameters>]#Parameters
- Multiple SwitchParameter
- Enable multi-select mode.
- Name string
- Select name/id.
- OptionMap IDictionary
- Options provided as a value-to-label map.
- Options string[]
- Options provided as a string array (value and label are the same).
- Required SwitchParameter
- Mark select as required.
- Searchable SwitchParameter
- Enable search UI.
- Selected string
- Selected value (single select).
- SelectedMany string[]
- Selected values (multi-select).
- TagsMode SwitchParameter
- Enable tags mode (free entry).
Outputs
HtmlForgeX.TablerSelect