Trusted by the world’s leading companies
Overview
The JavaScript ComboBox control is a drop-down list with editable textbox that also allows users to choose an option from a predefined pop-up list. It can be used as an alternative to the HTML select tag and has several out-of-the-box features such as data binding, filtering, grouping, cascading, templates, UI customization, pop-up list customization, and more.

Data binding
Bind data from different data sources in an array or list of primitive data, JSON data collections, or remote data sources using adapters such as OData, OData V4, URL, JSON, and Web API.
The control uses the Essential JS 2 data manager to manage data, and also has customization options for data requests and processing.
Custom value
The editable combo box allows the entry of a custom value when the option the user searched for is not available in the pop-up list. Also, you can set a value for the combo box or get the selected value from the combo box at any time through the interactive APIs.

Filtering
The JavaScript ComboBox provides a built-in filtering support with a rich set of filtering configurations to meet all the application needs.

Custom filtering
Filter queries are customizable, and users can use their own filter libraries to filter data.

Diacritic sensitivity
The JavaScript ComboBox control supports diacritic-sensitive search. This behavior can be turned on and off.

Filter settings
The filter search can be customized to be case sensitive, and can be performed with the minimum query string characters.

Grouping with category
Group the pop-up list items with a corresponding category that makes it easy for users to pick an item quickly from the drop-down, and also improves the visual experience for users.
Autofill
The autofill option allows users to easily search through the options in the combo box. When a user types a query string to search, the available matching options will be filled automatically.

Cascading combo boxes
The JavaScript ComboBox control provides an option to create multiple cascading combo boxes. Users can populate the data source of the second ComboBox based on the value selected from the first ComboBox.
Drop-down styles with templates
Another important combo box feature is templates, which allow you to make custom changes to the header, footer, and list items in the pop-up list to make them look unique.

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

Item template
Define the appearance of each item in the pop-up list with item templates.

Footer template
Design your own custom and static footers for the pop-up list using footer templates.
Customizing the UI
Users can customize each part of the combo box based on their application requirements.
![]()
Icons in list items
Each list item can be configured to display a custom icon to improve the component’s readability and appearance.

Empty record
Configure a custom look for the pop-up list when there are no items to display.

Customize dimensions
The dimensions of the pop-up list can be customized to fit the application.

Forms support
Since the combo box is a form component, it supports HTML forms, template-driven forms (Angular), and reactive forms.
Mobile responsive UI
The JavaScript ComboBox control supports a responsive mode that provides an adaptive, redesigned UI appearance for mobile devices and touch actions.
Other supported frameworks
The ComboBox component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different ComboBox platforms from the links below,
Web accessibility
-
Fully supports WAI-ARIA accessibility guidelines to work with screen readers and assistive devices.
-
Follows WAI-ARIA best practices for implementing keyboard interaction.
-
Designs the UI visual elements such as foreground color, background color, line spacing, text, and images based on WCAG 2.0 standard.
-
Supports right-to-left (RTL) direction for users working with RTL languages like Hebrew, Arabic, or Persian.
Developer friendly APIs
Developers can customize all UI elements and control their behaviors according to the end user’s requirements using its rich set of client-side APIs.
JavaScript ComboBox Code Example
Easily get started with the JavaScript ComboBox using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript ComboBox Example that shows you how to render and configure a ComboBox in JavaScript.
<body>
<div id='container' style="margin:0 auto; width:300px;">
<!--element which is going to render the ComboBox-->
<input type="text" tabindex="1" id='comboelement' />
</div>
</body>import { ComboBox } from '@syncfusion/ej2-dropdowns';
// initialize ComboBox component
let comboBoxObject: ComboBox = new ComboBox();
// render initialized ComboBox
comboBoxObject.appendTo('#comboelement');Not sure how to create your first JavaScript ComboBox? Our documentation can help.
I’d love to read it now145+ JAVASCRIPT UI CONTROLS
Frequently Asked Questions
Why should you choose Syncfusion JavaScript ComboBox?
- A great alternative to the HTML select tag, with a modern look and feel.
Editable combo box with advanced features, including auto suggestion, grouping, sorting, and more.
- Support for complete customization of the UI and pop-up list through different template options.
- One of the best JavaScript ComboBox in the market that offers a feature-rich UI.
- Simple configuration and API.
- Supports all modern browsers.
- Mobile-touch friendly and responsive.
Extensive demos and documentation to learn quickly and get started with ComboBox JavaScript.
Where can I find the Syncfusion JavaScript ComboBox demo?
You can find our JavaScript ComboBox demo here.
Can I download and utilize the Syncfusion JavaScript ComboBox for free?
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.
How do I get started with Syncfusion JavaScript ComboBox?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
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.