Skip to content

Dropdown position

Control where the dropdown panel opens relative to the select — top, bottom, or auto based on available space.

Inputs used by the examples on this page:

Input Type Default Description
dropdownPosition bottom | top | left | right | auto auto Set the dropdown position on open. auto opens below and flips above when there is not enough room
[items] Array<any> [] Items array
[searchable] boolean true Allow to search for value. Default true

See the NgSelectComponent API reference for the complete list of inputs and outputs.