We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The JavaScript Dropdown List is a quick replacement of the HTML select tags. It has a rich appearance and allows users to select a single value that is non-editable from a list of predefined values. It has several out-of-the-box features, such as data binding, filtering, grouping, UI customization, accessibility, and preselected values.


JavaScript Dropdown List with data binding.

Data binding

You can bind data from a variety of data sources in an array from primitive data, JSON data collections, or a remote data source using different kinds of adaptors such as OData, OData V4, URL, JSON, and Web API. The control uses the JavaScript data manager to manage data and has customization options for data requests and processing.


Filtering and searching drop-down lists

The JavaScript Dropdown List control has built-in filtering support with a rich set of filtering configurations available to match all your application needs. Enable the filtering functionality to show the search input box in the drop-down pop-up list.

JavaScript Dropdown List with custom filtering like Fuzzy search.

Custom filtering

The JavaScript Dropdown List control filter queries can be customized. You can also use your own filter libraries to filter data like Fuzzy search.

JavaScript Dropdown List filter with diacritic symbols.

The JavaScript Dropdown List control has built-in diacritic character sensitivity support. This behavior can be turned on or off.

JavaScript Dropdown List with case sensitivity

Filter settings

The filtered search can be customized with case sensitivity, and you can set the number of characters required to make a filtered search.


UI customization with templates

The appearance (style) of each item displayed in the selection pop-up list in HTML5 Dropdown List, header and footer of the selection pop-up list, and the drop-down input box (select box) can be customized.

Dropdown JavaScript header template in selection list.

Header template

Design your own header for the pop-up list using a header template.

Dropdown with JS item template

Item template

Define the custom appearance of each list item using an item template.

JavaScript Dropdown List with footer template in selection list.

Design your own custom footer for the pop-up list using a footer template.

JavaScript Dropdown List with value template.

Value template

Define a custom appearance for a selected value in the drop-down input box using a value template.

JavaScript Dropdown List with empty record template.

Empty record template

Configure the custom look of a pop-up list when no items are available to display in the filter search functionality.

JavaScript Dropdown List with selection list items icon.

Each list item of the pop-up list is configurable with a custom icon to improve readability and visualization.


Cascading drop-down list

Create a cascading drop-down list to help the user populate data to the next-level drop-downs based on the selected value of the parent drop-down list.


JavaScript Dropdown List with category grouping.

Grouping with category

Group the pop-up list items with the corresponding category, making it easy to pick an item quickly from the select drop-down and increase the visual experience of the user.


JavaScript HTML form support

The JavaScript Dropdown List is a form control that seamlessly supports HTML forms and obtains values on form submission actions.

JavaScript Dropdown List with HTML form validation.


JavaScript Drop-Down List with Pop-up dimension adjustment

The width and height of the pop-up option list is customizable.


Sortable list items

You can display items in ascending or descending order in a pop-up select option list.

Dropdown List in JavaScript with sorting.


Dropdown JavaScript with floating label.

The JavaScript Dropdown List control placeholder can float like a martial design with impressive animation.


Responsive drop-down list

The JavaScript Dropdown List with rich UI provides a responsive mode that gives an adaptive, redesigned UI appearance to mobile devices and is at ease with touch actions.


Localization

All the static texts in the user interfaces of the JavaScript Dropdown List can be localized to any desired language.

Localize all static text of Dropdown JavaScript


Other supported frameworks

The Dropdown List component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different Dropdown List platforms from the links below,


Web accessibility

  • Fully supports WAI-ARIA accessibility that makes a list view accessible to on-screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Designed with UI element visuals such as foreground color, background color, line spacing, text, and images based on the WCAG 2.0 standard.
  • Supports right-to-left (RTL) direction for users working in right-to-left languages like Hebrew, Arabic, or Farsi.

Developer-friendly APIs

Developers can customize all UI elements and control their behaviors according to the end user’s requirement using the control’s rich set of client-side APIs.


JavaScript Dropdown List Code Example

Easily get started with the JavaScript Dropdown List using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript Dropdown List Example that shows you how to render and configure a Dropdown List in JavaScript.

<div id='container' style="margin:0 auto; width:300px;">
    <!--element which is going to render the DropDownList-->
    <input type="text" tabindex="1" id='ddlelement' />
</div>
import { DropDownList } from '@syncfusion/ej2-dropdowns';

// initialize DropDownList component
let dropDownListObject: DropDownList = new DropDownList();

// render initialized DropDownList
dropDownListObject.appendTo('#ddlelement');



80+ JAVASCRIPT UI CONTROLS

Frequently Asked Questions

The Syncfusion JavaScript Dropdown List provides the following features:

  • A quick replacement of the HTML select tag.
  • Built-in support for filtering, hierarchical data binding, grouping, and UI customization with templates.
  • Supports standard Syncfusion themes which include Bootstrap v5 and Tailwind CSS.
  • Display floating labels, sortable list items, and customizable popup dimensions.
  • Highly customizable interface with web accessibility features.
  • Ability to create a cascading drop-down list that helps users populate data to the next level drop-down based on the selected value of the parent.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • One of the best JavaScript Dropdown List in the market that offers feature-rich UI to interact with the software.
  • Extensive demos and documentation to learn quickly and get started with JavaScript Dropdown List.

You can find our JavaScript Dropdown List demo here.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile