# Javascript: SelectionFormField.setIsDropDownArrowVisible Method

> Sets a value indicating whether a dropdown arrow is shown so that the user can select an item.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: SelectionFormField.setIsDropDownArrowVisible Method
- **407 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selectionformfield/setisdropdownarrowvisible-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selectionformfield/setisdropdownarrowvisible-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selectionformfield/setisdropdownarrowvisible-method/llms-full.txt

---

### Description

Sets a value indicating whether a dropdown arrow is shown so that the user can select an item.

### Syntax

```javascript
<void> SelectionFormField.setIsDropDownArrowVisible(<Boolean> isDropDownArrowVisible, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| isDropDownArrowVisible | Indicates whether a dropdown arrow is shown so that the user can select an item. |
| callback | Optional. Is called when the operation completed. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `SelectionFormField.setIsDropDownArrowVisible` in a practical document-editing workflow. It sets a value indicating whether a dropdown arrow is shown so that the user can select an item.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function configureIsDropDownArrowVisible(selectionFormField) {
    selectionFormField.setIsDropDownArrowVisible(
        true,
        function() {
            console.log("set is drop down arrow visible completed.");
        },
        onTxError
    );
}
```

---

## Nearby

- **Previous:** [Javascript: SelectionFormField.setEmptyWidth Method](https://docs.textcontrol.com/ds-server/reference/javascript/selectionformfield/setemptywidth-method/llms-full.txt)
- **Next:** [Javascript: SelectionFormField.setItems Method](https://docs.textcontrol.com/ds-server/reference/javascript/selectionformfield/setitems-method/llms-full.txt)
