Construct an empty DropdownField.
| Parameter | Description |
|---|---|
| label | The label to display in front of the field. |
Construct a DropdownField with a Label in front.
| Parameter | Description |
|---|---|
| choices | The list of choices to display in the dropdown. |
| defaultValue | The default value selected from the dropdown. |
| formatSelectedValueCallback | Callback to format the selected value. |
| formatListItemCallback | Callback to format the list items displayed in the dropdown. |
Construct a DropdownField.
| Parameter | Description |
|---|---|
| label | The label to display in front of the field. |
| choices | The list of choices to display in the dropdown. |
| defaultValue | The default value selected from the dropdown. |
| formatSelectedValueCallback | Callback to format the selected value. |
| formatListItemCallback | Callback to format the list items displayed in the dropdown. |
Construct a DropdownField.
| Parameter | Description |
|---|---|
| choices | The list of choices to display in the dropdown. |
| defaultIndex | The index of the choice selected by default. |
| formatSelectedValueCallback | Callback to format the selected value. |
| formatListItemCallback | Callback to format the list items displayed in the dropdown. |
Construct a DropdownField.
| Parameter | Description |
|---|---|
| label | The label to display in front of the field. |
| choices | The list of choices to display in the dropdown. |
| defaultIndex | The index of the choice selected by default. |
| formatSelectedValueCallback | Callback to format the selected value. |
| formatListItemCallback | Callback to format the list items displayed in the dropdown. |
Construct a DropdownField.