Angular ComboBox | Editable Dropdown | Syncfusion
Overview
The Angular ComboBox component 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 component uses the Essential JS 2 data manager to manage data, and also has customization options for data requests and processing.
Custom value
The editable combobox 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 combobox or get the selected value from the combobox at any time through the interactive APIs.

Filtering
The Angular 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 Angular ComboBox component 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 Angular ComboBox component 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 combobox 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.

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

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 combobox 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.
Themes
The Angular ComboBox component supports the built-in themes Material, Bootstrap, Fabric (Office 365), Fluent, Tailwind CSS, and high contrast. Users can customize these built-in themes or create new themes to achieve their desired look and feel by either simply overriding SASS variables or using our Theme Studio application.

Mobile responsive UI
The Angular ComboBox component supports a responsive mode that provides an adaptive, redesigned UI appearance for mobile devices.
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.
Angular ComboBox Code Example
Easily get started with the Angular ComboBox using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular ComboBox Example that shows you how to configure the combobox in Angular.
<div class="control-section"> <ejs-combobox id='games' [dataSource]='data' ></ejs-combobox> </div>
import { Component } from '@angular/core'; import { ComboBoxComponent } from '@syncfusion/ej2-angular-dropdowns'; @Component({ selector: 'app-root', // specifies the template string for the ComboBox component template: `<ejs-combobox id='games' [dataSource]='data'></ejs-combobox>` }) export class AppComponent { constructor() { } // defined the array of data public data: string[] = ['Cricket', 'Football', 'Rugby', 'Snooker', 'Tennis']; }
Transform your applications today by downloading our free evaluation version
Syncfusion Angular Resources
