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 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.


HTML5 ComboBox data binding from different data sources

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.

HTML5 ComboBox that allows custom values in the pop-up list


Filtering

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

HTML5 ComboBox filtering search based on custom algorithm

Custom filtering

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

JavaScript ComboBox filtering with diacritic symbol sensitivity

Diacritic sensitivity

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

JavaScript ComboBox filtering with case sensitivity and minimum search characters

Filter settings

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


JavaScript ComboBox Grouping of pop-up list items based on category

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.

HTML5 ComboBox autofill option while typing


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.


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.

Styling JavaScript ComboBox pop-up list with a header template

Header template

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

Styling JavaScript ComboBox pop-up list with item template

Item template

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

Styling JavaScript ComboBox pop-up list with 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.

JavaScript ComboBox pop-up list with icons

Icons in list items

Each list item can be configured to display a custom icon to improve the component’s readability and appearance.

JavaScript ComboBox pop-up list custom appearance when no records are found

Empty record

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

JavaScript ComboBox the pop-up list dimensions customization

Customize dimensions

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


JavaScript ComboBox with form validation

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');



80+ JAVASCRIPT UI CONTROLS

Frequently Asked Questions

  • 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.

You can find our JavaScript ComboBox 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