Radio
Radio component for Universal Dashboard
Last updated
Radio component for Universal Dashboard
Last updated
Radio buttons allow the user to select one option from a set.
Use radio buttons when the user needs to see all available options. If available options can be collapsed, consider using a dropdown menu because it uses less space.
Radio buttons should have the most commonly used option selected by default.
An event handler that is called when the radio group is changed. the $Body variable will contain the current value.
Set the default value of the radio group.
You can use custom formatting within the radio group. The below example will place the radio buttons next to each other instead of on top of each other.
New-UDRadio
Name
Type
Description
Required
Id
String
The ID of the component. It defaults to a random GUID.
false
Label
String
The label to show next to the radio.
false
Disabled
SwitchParameter
Whether the radio is disabled.
false
Value
String
The value of the radio.
false
LabelPlacement
String
The position to place the label in relation to the radio.
false