About Dropdown Components

You use the Dropdown component to add a labeled text field from which a user can choose from a list of predefined choices. You can map any parameter or attribute with choices to a dropdown component, and you can define rules that govern which choices are available to the user.

This page discusses:

See Also
About Rules
Creating Rules
Viewing Rules
About Notifications
Configuring Notification Rules

Example

The following figure shows an example of the properties of a Dropdown component:



The following figure shows the resulting output in the customized simulation template:

You can create rules that define a dependent list—the choices that are available to the user in the dropdown menu. In the following example, if the title is Stress, user can select only Debug, Info, or Message option. If the title is Strain, user can only select Warning, Error, or System Error option.



Properties

The Dropdown component has the following properties:

Property Description Type Supports Rule Creation
Name The ID of the component (read-only) String
Value The object with which to bind or the default choice String, real, integer, or Boolean (provided choices have been defined for the parameter)
Choices Define rules that govern the available choices Rule
Label Text to display in front of the input field String
Custom color Color in which to display the label String
Read Only Whether or not the user can modify the default value Boolean
Mandatory Whether or not a value is required Boolean
Hidden Whether to hide or show the component Boolean
Border Color Specifies the appearance and color of a border around the component String
Notification Custom notifications to display for the component.
Note: This property can be controlled only by a rule.
String
Tooltip Additional information that appears when the user hovers over the component's help icon String