/syncfusion-angular:syncfusion-angular-dropdownsfrom Syncfusion Angular UI Components
Comprehensive guide for implementing Syncfusion Angular dropdown components including AutoComplete, ComboBox, DropDownList, ListBox, Mention, MultiSelect and MultiColumn ComboBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, custom templates, and accessible dropdown experiences in Angular applications.
Ships in Syncfusion Angular UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
All dropdown components in this skill default to local, in-memory data sources.
Binding a component to a remote HTTP endpoint (via DataManager or any Observable/HTTP
source) is a non-default, elevated-risk operation that requires an explicit security
review before it is permitted in production code.
⛔ Do not generate or suggest remote
DataManager/ HTTP data-source configurations unless the consuming application has passed a security review confirming that:
- The target endpoint is owned and operated by the same team as the application.
- The endpoint enforces authentication, authorization, and input validation.
- All responses are sanitized before being bound to a component
dataSource.- A Content Security Policy (CSP) covering the origin is in place.
| # | Requirement |
|---|---|
| 1 | Local data by default. Use plain TypeScript arrays for dataSource unless a remote source has been explicitly approved. |
| 2 | No public or third-party URLs. Never configure a data source that fetches from an endpoint outside the application's own origin. |
| 3 | Sanitize all external data before binding. Any value that originates outside the application (API response, local-storage read) must be stripped of HTML/script content before assignment to dataSource or value. |
| 4 | Sanitize user filter input. Before forwarding typed text to any server query, strip non-alphanumeric characters to prevent injection. |
| 5 | No crossDomain: true by default. CORS relaxation in DataManager must be explicitly justified and reviewed. |
| 6 | Pin package versions. Every @syncfusion/ej2-* dependency must be locked to an exact version in package.json; verify against the lockfile after every install. |
| 7 | No CDN asset loading without SRI. CSS/JS must be resolved from node_modules at build time, not fetched from a CDN at runtime without Subresource Integrity hashes. |
| 8 | No sensitive data in local storage. enablePersistence must never store tokens, credentials, or PII; sanitize any value read back before use. |
A text input component that provides matching suggestions as the user types. Supports free-form input, remote data, filtering strategies, grouping, virtual scrolling, and full Angular forms integration.
The AutoComplete is a text input component that provides matching suggestions as the user types. It is designed for:
groupBy field| Aspect | Details |
|---|---|
| Selection | Single item; user can also type any free-form value |
| Data Sources | Local arrays, remote DataManager, OData, Web API, Observable (async pipe) |
| Filtering | Built-in filtering: StartsWith, EndsWith, Contains |
| Autofill | Completes the first match inline as the user types |
| Performance | Virtual scrolling for large datasets (1,000+ items) |
| Forms | Template-driven (ngModel) and reactive (FormControl) form integration |
| Accessibility | WCAG 2.2 compliant, full keyboard navigation, ARIA attributes |
| Customization | Item, group, header, footer, noRecords, actionFailure templates; CSS theming |
Read: references/autocomplete-getting-started.md
@syncfusion/ej2-angular-dropdowns packageAutoCompleteModule and required CSS themes[(value)]Read: references/autocomplete-data-binding.md
value, text, and iconCss fields via fields propertyallowObjectBindingvalue propertyRead: references/autocomplete-filtering-and-search.md
filterType (StartsWith, Contains, EndsWith)suggestionCountminLengthignoreCaseignoreAccentdebounceDelayfiltering event with updateDataRead: references/autocomplete-grouping-and-templates.md
fields.groupBynoRecordsTemplateRead: references/autocomplete-feature-configuration.md
autofill propertyhighlight propertyfields.disabled or disableItem methodenabled propertyallowResizeenableVirtualizationshowPopupButtonshowClearButtonenableRtlsortOrderRead: references/autocomplete-form-support-and-validation.md
ngModel and FormsModuleFormControl, FormGroup, and ReactiveFormsModuleRead: references/autocomplete-accessibility-and-localization.md
aria-haspopup, aria-expanded, aria-selected, aria-autocompleteL10n.load() for noRecordsTemplate and actionFailureTemplateRead: references/autocomplete-advanced-patterns-how-to.md
autofill propertyhighlight propertyPredicate (filter by both Name and Code)fields.iconCss⚠️ Security note: Local storage is accessible to any JavaScript running on the same origin and is a common XSS attack surface. Never store sensitive data (tokens, PII) in local storage. Sanitize any values read from local storage before binding them to the component's
dataSourceorvalue.
Read: references/autocomplete-api.md
// app.component.ts (Angular 21 Standalone)
import { Component } from '@angular/core';
import { AutoCompleteModule } from '@syncfusion/ej2-angular-dropdowns';
@Component({
selector: 'app-root',
standalone: true,
imports: [AutoCompleteModule],
template: `
<ejs-autocomplete
id="sports"
[dataSource]="sportsData"
placeholder="Find a sport"
[(value)]="selectedValue">
</ejs-autocomplete>
`
})
export class AppComponent {
public sportsData: string[] = [
'Badminton', 'Basketball', 'Cricket',
'Football', 'Golf', 'Hockey', 'Tennis'
];
public selectedValue: string = '';
}
Install the package:
⚠️ Security note: Pin the package to a specific version to prevent unintended upgrades to potentially compromised releases. Verify the installed version against your lockfile (
package-lock.json/yarn.lock) after installation.
ng add @syncfusion/ej2-angular-dropdowns@<version>
Add CSS (styles.css):
⚠️ Security note: These imports are resolved from
node_modulesat build time. Ensure the installed Syncfusion packages match your pinned versions inpackage-lock.jsonoryarn.lockbefore building. Do not source these files from a CDN without Subresource Integrity (SRI) hashes.
@import '../node_modules/@syncfusion/ej2-base/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-inputs/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-lists/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-popups/styles/material3.css';
// Map fields for object array
public fields: Object = { value: 'Game' };
public sportsData: { [key: string]: Object }[] = [
{ Id: 'Game1', Game: 'Badminton' },
{ Id: 'Game2', Game: 'Cricket' }
];
<ejs-autocomplete [dataSource]="sportsData" [fields]="fields" placeholder="Find a game">
</ejs-autocomplete>
When to use: Whenever your data is an array of objects and you need to display one field as the suggestion text.
<ejs-autocomplete
[dataSource]="data"
[autofill]="true"
[highlight]="true"
filterType="StartsWith">
</ejs-autocomplete>
When to use: Search bars where users expect inline completion and visual emphasis on matched text.
🔒 Security policy — remote data is a restricted pattern. Binding AutoComplete to a remote endpoint requires a security review (see Security & Trust Boundary above) before use in production. Remote data binding details and requirements are documented in references/autocomplete-data-binding.md. No remote
DataManagerexample is provided here by default.
When to use: API-backed autocomplete where you want to reduce request frequency — only after the endpoint and data pipeline have been reviewed per the security requirements above.
import { AutoCompleteComponent, VirtualScroll } from '@syncfusion/ej2-angular-dropdowns';
AutoCompleteComponent.Inject(VirtualScroll);
<ejs-autocomplete
[dataSource]="records"
[fields]="fields"
[enableVirtualization]="true"
popupHeight="200px">
</ejs-autocomplete>
When to use: Datasets with 1,000+ items where rendering all DOM elements at once is costly.
| Property | Type | Default | Purpose |
|---|---|---|---|
dataSource | Array | DataManager | [] | Source data for suggestions |
fields | FieldSettingsModel | { value: null } | Map data columns to component |
placeholder | string | null | Hint text when empty |
value | string | number | boolean | object | null | Selected/typed value |
filterType | FilterType | 'Contains' | How suggestions are matched |
minLength | number | 1 | Minimum chars to trigger suggestions |
suggestionCount | number | 20 | Max suggestions shown |
autofill | boolean | false | Inline completion of first match |
highlight | boolean | false | Highlight matched characters |
ignoreCase | boolean | true | Case-insensitive filtering |
ignoreAccent | boolean | — | Ignore diacritics in filtering |
debounceDelay | number | 300 | Delay (ms) before filtering fires |
enableVirtualization | boolean | false | Virtual scroll for large data |
allowResize | boolean | false | Resizable popup |
showClearButton | boolean | true | Show ✕ to clear value |
showPopupButton | boolean | false | Show dropdown toggle button |
enabled | boolean | true | Enable/disable entire component |
readonly | boolean | false | Prevent user edits |
allowObjectBinding | boolean | false | Bind value as full object |
sortOrder | SortOrder | null | Sort suggestions (Ascending/Descending) |
popupHeight | string | number | '300px' | Popup list height |
popupWidth | string | number | '100%' | Popup list width |
locale | string | 'en-US' | Localization culture |
enableRtl | boolean | false | Right-to-left rendering |
Need to implement AutoComplete?
│
├─ What's your data source?
│ ├─ Local array → See Data Binding: "Array of string" or "Array of object"
│ └─ Remote API → See Data Binding: "Bind to remote data"
│
├─ How should filtering work?
│ ├─ Default (Contains) → No extra config needed
│ ├─ StartsWith → filterType="StartsWith"
│ ├─ Custom multi-field → See Advanced Patterns: "Custom filtering"
│ └─ Accent-insensitive → [ignoreAccent]="true"
│
├─ Need autofill (inline completion)?
│ └─ YES → [autofill]="true" + filterType="StartsWith"
│
├─ Highlight matched text?
│ └─ YES → [highlight]="true"
│
├─ Large dataset (1,000+ items)?
│ └─ YES → [enableVirtualization]="true" + inject VirtualScroll
│
├─ Using inside a form?
│ ├─ Template-driven → See Form Support: "ngModel"
│ └─ Reactive → See Form Support: "FormControl"
│
└─ Need accessibility or localization?
└─ YES → See Accessibility & Localization reference
A flexible dropdown component that allows users to select from a predefined list or enter a custom value. Supports filtering, grouping, templates, virtual scrolling, and full Angular forms integration.
The ComboBox is a flexible dropdown component that allows users to:
allowCustom is enabled| Aspect | Details |
|---|---|
| Selection | Single item from predefined list or custom value |
| Data Sources | Local arrays, remote DataManager, OData, Web API, async data |
| Filtering | Built-in filtering with configurable strategies (StartsWith, Contains, EndsWith) |
| Performance | Virtual scrolling for large datasets (10,000+ items) |
| Forms | Works with template-driven forms (ngModel) and reactive forms (FormControl) |
| Accessibility | WCAG 2.2 compliant, full keyboard navigation, ARIA attributes |
| Customization | Templates for items, groups, headers; CSS theming support |
Read: references/combobox-getting-started.md
@syncfusion/ej2-angular-dropdowns packageRead: references/combobox-data-binding.md
Read: references/combobox-filtering-and-search.md
allowFiltering propertyRead: references/combobox-grouping-and-templates.md
groupBy fieldRead: references/combobox-feature-configuration.md
Read: references/combobox-form-support-and-validation.md
Read: references/combobox-accessibility-and-localization.md
Read: references/combobox-advanced-patterns-and-how-to.md
Read: references/combobox-api.md
// app.component.ts
import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ComboBoxComponent, ComboBoxModule } from '@syncfusion/ej2-angular-dropdowns';
@Component({
selector: 'app-root',
standalone: true,
imports: [CommonModule, ComboBoxModule],
template: `
<ejs-combobox
[dataSource]="data"
fields="{ text: 'text', value: 'id' }"
placeholder="Select a language"
[(ngModel)]="selectedValue">
</ejs-combobox>
`
})
export class AppComponent {
selectedValue = '';
data = [
{ id: '1', text: 'JavaScript' },
{ id: '2', text: 'TypeScript' },
{ id: '3', text: 'Angular' },
{ id: '4', text: 'React' }
];
}
What's happening:
ComboBoxComponent from @syncfusion/ej2-angular-dropdownsfields to map text and value fields[(ngModel)][autofill]="true" // Auto-complete suggestions
[allowFiltering]="true" // Enable typing
filterType="StartsWith" // Match from beginning
When to use: Skills, tags, email domains (user types 'j', sees 'JavaScript')
See: Advanced Patterns
// Country → State → City relationship
onCountryChange() {
this.states = this.getStatesFor(country);
}
onStateChange() {
this.cities = this.getCitiesFor(state);
}
When to use: Address selection, hierarchical data (country/state/city)
See: Advanced Patterns
fields = {
text: 'Name',
value: 'Id',
groupBy: 'Category',
iconCss: 'Icon'
};
When to use: Visual organization (languages with icons, file types)
See: Advanced Patterns
[allowResize]="true" // Enable resize handle
itemTemplate="customTemplate" // Show rich content
When to use: Product listings, descriptions, detailed information
See: Advanced Patterns
| Property | Type | Default | When to Use |
|---|---|---|---|
dataSource | Array | DataManager | [] | Specify items to display |
fields | Object | { text, value } | Map data structure to ComboBox |
placeholder | string | '' | Show hint when empty |
allowFiltering | boolean | false | Enable search/filter |
allowCustom | boolean | false | Allow values not in list |
readonly | boolean | false | Prevent editing |
enabled | boolean | true | Disable entire component |
[(ngModel)] | any | undefined | Two-way value binding |
| Property | Type | When to Use |
|---|---|---|
itemTemplate | string | TemplateRef | Custom item rendering |
groupTemplate | string | TemplateRef | Custom group header display |
footerTemplate | string | TemplateRef | Add info below list |
enableVirtualization | boolean | 10,000+ items (performance) |
groupBy | string | Organize items by category |
filterType | string | StartsWith | Contains | EndsWith |
debounceDelay | number | Remote data request delay |
1. CREATE: Component initialized
↓
2. DATA BIND: dataSource loaded & displayed
↓
3. USER INTERACTION: typing, clicking, keyboard
↓
4. FILTER/SEARCH: items filtered based on input
↓
5. SELECT: user chooses item or enters custom value
↓
6. VALUE UPDATE: ngModel updates, events fire
↓
7. DESTROY: component cleaned up
Key events to handle:
change: When selected value changesfiltering: When user types (filter queries)select: When item is selectedfocus: When component gets focusblur: When component loses focusNeed to implement ComboBox? Follow this decision tree:
1. Do you have data to display?
├─ YES: Go to "Data Binding & Sources" reference
└─ NO: Define your data array first
2. Do users need to search/filter?
├─ YES: Go to "Filtering & Search" reference
└─ NO: allowFiltering = false (default)
3. Do you need to group items?
├─ YES: Go to "Grouping & Templates" reference
└─ NO: Skip grouping configuration
4. Are you using a form?
├─ YES: Go to "Form Support & Validation" reference
└─ NO: Use standalone ComboBox
5. Is accessibility required?
├─ YES: Go to "Accessibility & Localization" reference
└─ NO: Still recommended for compliance
6. Performance issues with large datasets?
├─ YES: Enable virtual scrolling + pagination
└─ NO: Standard rendering is fine
A single-value selection component from a predefined list. Supports local and remote data sources, filtering, grouping, custom templates, virtualization for large datasets, and full Angular forms integration.
📄 Read: references/dropdownlist-getting-started.md
@syncfusion/ej2-angular-dropdowns<ejs-dropdownlist> to the template[dataSource][(value)]📄 Read: references/dropdownlist-data-binding.md
[fields] mappingDataManager (OData, Web API)allowObjectBinding)📄 Read: references/dropdownlist-filtering.md
[allowFiltering]filtering event and updateData() methodcontains, startsWith, endsWith📄 Read: references/dropdownlist-templates.md
📄 Read: references/dropdownlist-grouping-and-virtualization.md
groupBy field[enableVirtualization] for large lists📄 Read: references/dropdownlist-disabled-items-and-forms.md
fields.disableddisableItem() method (by value, index, or element)[enabled]="false"[(ngModel)]FormControl and FormGroup📄 Read: references/dropdownlist-customization-and-styling.md
L10n class📄 Read: references/dropdownlist-how-to.md
📄 Read: references/dropdownlist-api.md
FieldSettingsModel, ChangeEventArgs, SelectEventArgs, PopupEventArgs, FilteringEventArgsimport { Component, OnInit } from '@angular/core';
import { DropDownListModule } from '@syncfusion/ej2-angular-dropdowns';
@Component({
standalone: true,
imports: [DropDownListModule],
selector: 'app-root',
template: `
<ejs-dropdownlist
id="ddl"
[dataSource]="sports"
[fields]="fields"
placeholder="Select a sport"
[(value)]="selectedValue"
(change)="onChange($event)">
</ejs-dropdownlist>
<p>Selected: {{ selectedValue }}</p>
`
})
export class AppComponent implements OnInit {
public sports: { id: number; name: string }[] = [];
public fields = { text: 'name', value: 'id' };
public selectedValue: number = 2;
ngOnInit() {
this.sports = [
{ id: 1, name: 'Badminton' },
{ id: 2, name: 'Cricket' },
{ id: 3, name: 'Football' },
{ id: 4, name: 'Tennis' }
];
}
onChange(args: any) {
this.selectedValue = args.value;
}
}
// Enable filtering in template
// <ejs-dropdownlist [allowFiltering]="true" (filtering)="onFilter($event)">
import { FilteringEventArgs } from '@syncfusion/ej2-angular-dropdowns';
import { Query } from '@syncfusion/ej2-data';
onFilter(args: FilteringEventArgs) {
let query = new Query();
query = args.text !== ''
? query.where('name', 'contains', args.text, true)
: query;
args.updateData(this.sports, query);
}
🔒 Security policy — remote data is a restricted pattern. Binding DropDownList to a remote endpoint requires a security review (see Security & Trust Boundary) before use in production. Remote data binding details and requirements are documented in references/dropdownlist-data-binding.md. No remote
DataManagerexample is provided here by default.
import { FormBuilder, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
import { DropDownListModule } from '@syncfusion/ej2-angular-dropdowns';
// In component:
form = this.fb.group({ sport: ['Cricket', Validators.required] });
// In template:
// <form [formGroup]="form">
// <ejs-dropdownlist formControlName="sport" [dataSource]="sports"></ejs-dropdownlist>
// </form>
| Property | Type | Description |
|---|---|---|
dataSource | any[] | DataManager | Data for the list |
fields | FieldSettingsModel | Maps text, value, groupBy, disabled, iconCss |
value | string | number | boolean | object | Selected value (supports two-way binding) |
placeholder | string | Input placeholder text |
allowFiltering | boolean | Enable search box in popup |
filterType | 'contains' | 'startsWith' | 'endsWith' | Filter match strategy |
enableVirtualization | boolean | Virtual scrolling for large lists |
popupHeight / popupWidth | string | number | Popup dimensions |
enabled | boolean | Enable/disable entire component |
allowObjectBinding | boolean | Bind full object as value |
ignoreCase | boolean | Case-insensitive filtering (default: true) |
ignoreAccent | boolean | Diacritics-insensitive filtering |
debounceDelay | number | Delay (ms) before filter triggers |
itemTemplate | string | Template for list items |
valueTemplate | string | Template for selected value display |
noRecordsTemplate | string | Empty state message |
Form field with validation → See references/dropdownlist-disabled-items-and-forms.md
Large list (1000+ items) → Enable [enableVirtualization]="true" — see references/dropdownlist-grouping-and-virtualization.md
Country/State/City cascading → See references/dropdownlist-how-to.md
Custom item rendering (icons, multi-column) → See references/dropdownlist-templates.md
Remote API data → See references/dropdownlist-data-binding.md
A list-based selection component enabling single or multi-item selection. Supports data binding, templates, drag-and-drop reordering and transfer, sorting, grouping, and comprehensive accessibility features.
The Syncfusion ListBox is a high-performance dropdown list replacement with advanced features:
| Feature | Benefit |
|---|---|
| Multiple Selection Modes | Single, multiple, or checkbox selection |
| Data Binding | Local arrays, complex objects, or remote services |
| Drag & Drop | Reorder items or transfer between lists |
| Customization | Icons, templates, grouping, sorting |
| Accessibility | WCAG 2.2, screen readers, keyboard navigation |
| Performance | Efficient rendering with large datasets |
📄 Read: references/listbox-getting-started.md
📄 Read: references/listbox-selection-modes.md
📄 Read: references/listbox-data-binding.md
📄 Read: references/listbox-drag-and-drop-features.md
📄 Read: references/listbox-customization.md
📄 Read: references/listbox-practical-examples.md
📄 Read: references/listbox-how-to-guides.md
📄 Read: references/listbox-api.md
FieldSettingsModel, SelectionSettingsModel, ToolbarSettingsModelListBoxChangeEventArgs, DragEventArgs, DropEventArgs, BeforeItemRenderEventArgs, FilteringEventArgs, SourceDestinationModelSelectionMode, SortOrder, FilterType, ToolBarPosition, CheckBoxPositionimport { Component, OnInit } from '@angular/core';
import { ListBoxModule } from '@syncfusion/ej2-angular-dropdowns';
@Component({
imports: [ListBoxModule],
standalone: true,
selector: 'app-listbox',
template: `
<ejs-listbox
[dataSource]="items"
[selectionSettings]="{ mode: 'Multiple' }">
</ejs-listbox>
`
})
export class ListBoxComponent implements OnInit {
public items: { [key: string]: Object }[] = [];
ngOnInit(): void {
this.items = [
{ text: 'Option 1', id: '1' },
{ text: 'Option 2', id: '2' },
{ text: 'Option 3', id: '3' }
];
}
}
⚠️ Security note: These imports are resolved from
node_modulesat build time. Ensure the installed Syncfusion packages match your pinned versions inpackage-lock.jsonoryarn.lockbefore building. Do not source these files from a CDN without Subresource Integrity (SRI) hashes.
/* In your global styles.css */
@import '@syncfusion/ej2-base/styles/material3.css';
@import '@syncfusion/ej2-dropdowns/styles/material3.css';
@import '@syncfusion/ej2-inputs/styles/material3.css';
@import '@syncfusion/ej2-lists/styles/material3.css';
import { ListBoxChangeEventArgs } from '@syncfusion/ej2-dropdowns';
selectedValues: string[] = [];
onSelectionChange(args: ListBoxChangeEventArgs): void {
this.selectedValues = args.value as string[];
}
Template:
<ejs-listbox
[dataSource]="items"
(change)="onSelectionChange($event)">
</ejs-listbox>
sourceItems = [
{ text: 'Available Item 1', id: '1' },
{ text: 'Available Item 2', id: '2' }
];
selectedItems = [];
Template:
<div style="display: flex; gap: 20px;">
<div>
<h4>Available Items</h4>
<ejs-listbox
[dataSource]="sourceItems"
allowDragAndDrop="true"
scope="transfer-list">
</ejs-listbox>
</div>
<div>
<h4>Selected Items</h4>
<ejs-listbox
[dataSource]="selectedItems"
allowDragAndDrop="true"
scope="transfer-list">
</ejs-listbox>
</div>
</div>
allItems = [
{ text: 'Apple', category: 'Fruit' },
{ text: 'Carrot', category: 'Vegetable' },
{ text: 'Banana', category: 'Fruit' }
];
get filteredItems() {
return this.allItems.filter(item =>
item.text.toLowerCase().includes(this.searchTerm.toLowerCase())
);
}
selectionSettings: { mode: 'Single' | 'Multiple', showCheckbox: boolean, showSelectAll: boolean, checkboxPosition: 'Left' | 'Right' } > Note: When using showCheckbox: true, you must inject CheckBoxSelection:
import { ListBoxComponent, CheckBoxSelection, ListBoxModule } from '@syncfusion/ej2-angular-dropdowns'; ListBoxComponent.Inject(CheckBoxSelection); @Component({ imports: [ListBoxModule] }) ```- **`maximumSelectionLength`**: Limit how many items can be selected
value: Get or set selected values (string[] | number[] | boolean[])dataSource: Array or DataManager with itemsfields: { text, value, groupBy, iconCss, disabled, htmlAttributes }itemTemplate: Template for rendering each list itemnoRecordsTemplate: Template shown when no items matchallowDragAndDrop: Enable drag-and-drop reordering/transferscope: Identify related ListBoxes for drag-drop transferallowFiltering: Show built-in filter search barfilterBarPlaceholder: Placeholder text for the filter barfilterType: 'StartsWith' | 'EndsWith' | 'Contains'toolbarSettings: Configure toolbar buttons for dual-ListBox transferheight: Height of the ListBoxsortOrder: 'None' | 'Ascending' | 'Descending'enabled: Enable/disable componentenableRtl: Right-to-left renderingcssClass: Additional CSS classAn autocomplete suggestion popup triggered by a typed character (default @) inside a target element. Supports user tagging, custom trigger characters, rich text integration, remote data, templates, and full accessibility.
The Mention component renders an autocomplete suggestion popup when the user types a trigger character (default @) inside a target element (a div[contenteditable], textarea, or similar). It is designed for:
@#, /, etc.) as the triggercontenteditable divs and editorsContains, StartsWith, EndsWith with configurable min-length, debounce, and spacing| Aspect | Details |
|---|---|
| Trigger | Any single character via mentionChar (default @) |
| Target | Any HTMLElement or CSS selector string set via target |
| Data Sources | Local arrays (strings, objects), remote DataManager (OData, Web API) |
| Filtering | Built-in: Contains, StartsWith, EndsWith; configurable minLength, allowSpaces |
| Display | showMentionChar controls whether the trigger character is shown with selected text |
| Suffix | suffixText appends a space or newline after the selected item |
| Accessibility | WCAG 2.2, Section 508, ADA; keyboard shortcuts: Arrow keys, Enter, Tab, Escape |
| Localization | L10n.load() for noRecordsTemplate locale key |
Read: references/mention-getting-started.md
@syncfusion/ej2-angular-dropdowns packageMentionModule and required CSS themescontenteditable divtarget and basic dataSourceshowMentionChar and mentionCharRead: references/mention-data-binding.md
text, value, groupBy, and iconCss via fields propertyquery property to scope remote requestsRead: references/mention-filtering.md
filterType (Contains, StartsWith, EndsWith)minLengthallowSpacessuggestionCountdebounceDelayRead: references/mention-templates.md
itemTemplatedisplayTemplatenoRecordsTemplatespinnerTemplategroupTemplateRead: references/mention-customization.md
showMentionCharsuffixTextpopupHeight and popupWidthmentionCharrequireLeadingSpacecssClasshighlightignoreCase and ignoreAccent for search behaviorRead: references/mention-sorting-and-disabled-items.md
sortOrder (None, Ascending, Descending)fields.disableddisableItem methodRead: references/mention-accessibility-and-localization.md
aria-selected, aria-activedescendent, aria-ownsnoRecordsTemplate with L10n.load()enableRtlRead: references/mention-api.md
addItem, disableItem, getDataByValue, getItems, hidePopup, showPopup, search, destroydataBound, actionFailureTemplate// app.component.ts (Angular 21 Standalone)
import { Component } from '@angular/core';
import { MentionModule } from '@syncfusion/ej2-angular-dropdowns';
@Component({
selector: 'app-root',
standalone: true,
imports: [MentionModule],
template: `
<label style="font-size: 15px; font-weight: 600;">Comments</label>
<div id="mentionElement"
placeholder="Type @ and tag a user"
style="min-height: 100px; border: 1px solid #D7D7D7; border-radius: 4px; padding: 8px;">
</div>
<ejs-mention [dataSource]="userData" [target]="mentionTarget"></ejs-mention>
`
})
export class AppComponent {
public userData: string[] = ['Selma Rose', 'Garth', 'Robert', 'William', 'Joseph'];
public mentionTarget: string = '#mentionElement';
}
Install the package:
⚠️ Security note: Pin the package to a specific version to prevent unintended upgrades to potentially compromised releases. Verify the installed version against your lockfile (
package-lock.json/yarn.lock) after installation.
ng add @syncfusion/ej2-angular-dropdowns@<version>
Add CSS (styles.css):
⚠️ Security note: These imports are resolved from
node_modulesat build time. Ensure the installed Syncfusion packages match your pinned versions inpackage-lock.jsonoryarn.lockbefore building. Do not source these files from a CDN without Subresource Integrity (SRI) hashes.
@import '../node_modules/@syncfusion/ej2-base/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-buttons/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-popups/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-lists/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-angular-dropdowns/styles/material3.css';
public userData: { [key: string]: Object }[] = [
{ Name: 'Selma Rose', EmailId: '[email protected]' },
{ Name: 'Maria', EmailId: '[email protected]' },
{ Name: 'Robert', EmailId: '[email protected]' }
];
public fields: Object = { text: 'Name' };
public mentionTarget: string = '#mentionElement';
<ejs-mention [dataSource]="userData" [fields]="fields" [target]="mentionTarget"></ejs-mention>
<ejs-mention
[dataSource]="userData"
[target]="mentionTarget"
[mentionChar]="'#'"
[showMentionChar]="true">
</ejs-mention>
🔒 Security policy — remote data is a restricted pattern. Binding Mention to a remote endpoint requires a security review (see Security & Trust Boundary) before use in production. Remote data binding details and requirements are documented in references/mention-data-binding.md. No remote
DataManagerexample is provided here by default.
<ejs-mention
[dataSource]="userData"
[fields]="fields"
[allowSpaces]="true"
[target]="mentionTarget">
</ejs-mention>
| Property | Type | Default | Purpose |
|---|---|---|---|
target | HTMLElement | string | — | Target element where mention suggestions appear |
dataSource | Array | DataManager | [] | Source data for suggestions |
fields | FieldSettingsModel | { text: null, value: null } | Map data columns to component |
mentionChar | string | '@' | Character that triggers the suggestion popup |
showMentionChar | boolean | false | Show trigger character with inserted text |
suffixText | string | null | Text appended after the selected item |
filterType | FilterType | 'Contains' | How suggestions are matched |
minLength | number | 0 | Minimum chars to trigger filtering |
allowSpaces | boolean | false | Allow spaces in mid-mention search |
suggestionCount | number | 25 | Max number of suggestions shown |
debounceDelay | number | 300 | Delay (ms) before filtering fires |
sortOrder | SortOrder | 'None' | Sort suggestions order |
popupHeight | string | number | '300px' | Popup list height |
popupWidth | string | number | 'auto' | Popup list width |
highlight | boolean | false | Highlight matched characters |
ignoreCase | boolean | true | Case-insensitive search |
ignoreAccent | boolean | — | Ignore diacritics in search |
requireLeadingSpace | boolean | true | Require space before trigger character |
cssClass | string | null | Custom CSS class(es) on the component |
locale | string | 'en-US' | Localization culture |
enableRtl | boolean | false | Right-to-left rendering |
enablePersistence | boolean | false | Persist state between reloads |
zIndex | number | 1000 | Popup z-index |
Need to implement Mention / @mention tagging?
│
├─ What's your data source?
│ ├─ Local strings/array → See Data Binding: "Array of simple data"
│ ├─ Local objects → See Data Binding: "Array of JSON data" + fields mapping
│ └─ Remote API → See Data Binding: "Binding remote data"
│
├─ Custom trigger character (not @)?
│ └─ YES → [mentionChar]="'#'" (or any single char)
│
├─ Show trigger char in inserted text?
│ └─ YES → [showMentionChar]="true"
│
├─ Multi-word names (e.g., "John Doe")?
│ └─ YES → [allowSpaces]="true"
│
├─ Custom item layout in popup?
│ └─ YES → See Templates: itemTemplate / displayTemplate
│
├─ Need sorted suggestions?
│ └─ YES → See Sorting & Disabled Items: sortOrder
│
├─ Some items should not be selectable?
│ └─ YES → See Sorting & Disabled Items: fields.disabled / disableItem
│
├─ Filtering behavior?
│ ├─ By default (Contains) → No extra config
│ ├─ StartsWith / EndsWith → filterType="StartsWith"
│ └─ Minimum typed chars → [minLength]="3"
│
└─ Need accessibility or localization?
└─ YES → See Accessibility & Localization reference
A multi-value selection dropdown (ejs-multiselect) supporting four visual modes (Default/Box/Delimiter/CheckBox), rich filtering, templates, grouping, remote data, virtualization, and full Angular form integration.
| Mode | Behavior | Use When |
|---|---|---|
Default | Selected items shown as chips in input | Standard multi-select |
Box | Same as Default, explicit box display | Visual clarity needed |
Delimiter | Selected items as comma-separated text | Space-constrained layouts |
CheckBox | Popup shows checkboxes per item | Bulk selection workflows |
📄 Read: references/multiselect-getting-started.md
ng add)<ejs-multiselect> in standalone Angular component📄 Read: references/multiselect-data-binding.md
fields mapping: text, value, groupBy, iconCss, disabledallowObjectBinding📄 Read: references/multiselect-selection-modes.md
mode property: Default / Box / Delimiter / CheckBoxCheckBoxSelection, showSelectAll, maximumSelectionLengthtagging eventallowCustomValuefields.disabled, disableItem()addTagOnBlur and changeOnBlur behaviors📄 Read: references/multiselect-filtering.md
allowFiltering + filtering event + updateData()filterType: startsWith, contains, endsWith📄 Read: references/multiselect-templates.md
itemTemplate — custom list item rendering with ng-templatevalueTemplate — customize chip/selected value displaygroupTemplate — custom group header contentheaderTemplate / footerTemplate — popup top/bottomnoRecordsTemplate / actionFailureTemplate📄 Read: references/multiselect-grouping-and-items.md
fields.groupBy — organize items into categoriesenableGroupCheckBox for group-level Select Allchange event → filter child data📄 Read: references/multiselect-form-support.md
FormsModule, ngModel, two-way bindingReactiveFormsModule, FormGroup, FormControlformControlName usage and validation📄 Read: references/multiselect-advanced-features.md
enableVirtualization)allowResize, resize events)iconCss field)L10n.load(), locale key overrides)📄 Read: references/multiselect-api.md
CheckBoxSelectionService)⚠️ Security note: Pin the package to a specific version to prevent unintended upgrades to potentially compromised releases. Verify the installed version against your lockfile (
package-lock.json/yarn.lock) after installation.
ng add @syncfusion/ej2-angular-dropdowns@<version>
// app.component.ts — Standalone Angular 19+
import { Component } from '@angular/core';
import { MultiSelectModule } from '@syncfusion/ej2-angular-dropdowns';
@Component({
standalone: true,
imports: [MultiSelectModule],
selector: 'app-root',
template: `
<ejs-multiselect
[dataSource]="skills"
[fields]="fields"
placeholder="Select skills"
[(value)]="selectedSkills"
(change)="onChange($event)">
</ejs-multiselect>
`
})
export class AppComponent {
public skills = [
{ id: 1, name: 'Angular' },
{ id: 2, name: 'React' },
{ id: 3, name: 'TypeScript' },
{ id: 4, name: 'Node.js' },
];
public fields = { text: 'name', value: 'id' };
public selectedSkills: number[] = [1, 3]; // pre-select Angular & TypeScript
onChange(args: any): void {
this.selectedSkills = args.value;
}
}
⚠️ Security note: These imports are resolved from
node_modulesat build time. Ensure the installed Syncfusion packages match your pinned versions inpackage-lock.jsonoryarn.lockbefore building. Do not source these files from a CDN without Subresource Integrity (SRI) hashes.
/* styles.css */
@import '@syncfusion/ej2-base/styles/material3.css';
@import '@syncfusion/ej2-buttons/styles/material3.css';
@import '@syncfusion/ej2-inputs/styles/material3.css';
@import '@syncfusion/ej2-lists/styles/material3.css';
@import '@syncfusion/ej2-popups/styles/material3.css';
@import '@syncfusion/ej2-dropdowns/styles/material3.css';
@import '@syncfusion/ej2-angular-dropdowns/styles/material3.css';
import { MultiSelectModule, CheckBoxSelectionService } from '@syncfusion/ej2-angular-dropdowns';
@Component({
standalone: true,
imports: [MultiSelectModule],
providers: [CheckBoxSelectionService],
template: `
<ejs-multiselect
[dataSource]="items"
mode="CheckBox"
[showSelectAll]="true"
selectAllText="Select All"
unSelectAllText="Unselect All"
[maximumSelectionLength]="5">
</ejs-multiselect>
`
})
🔒 Security policy — remote data is a restricted pattern. Binding MultiSelect to a remote endpoint requires a security review (see Security & Trust Boundary) before use in production. Remote filtering details and requirements are documented in references/multiselect-filtering.md. No remote
DataManagerexample is provided here by default.
import { ReactiveFormsModule, FormControl } from '@angular/forms';
// In component:
public skillsControl = new FormControl([1, 3]); // pre-selected IDs
// In template:
// <ejs-multiselect [formControl]="skillsControl" [dataSource]="skills" [fields]="fields">
// </ejs-multiselect>
| Property | Type | Purpose |
|---|---|---|
dataSource | any[] | DataManager | Items to display |
fields | FieldSettingsModel | Maps text, value, groupBy, disabled, iconCss |
value | any[] | Currently selected values (use [(value)] for two-way) |
mode | string | Default, Box, Delimiter, CheckBox |
allowFiltering | boolean | Enables search within the dropdown |
filterType | string | startsWith, contains, endsWith |
showSelectAll | boolean | Shows Select All in CheckBox mode |
maximumSelectionLength | number | Caps the number of selectable items |
allowCustomValue | boolean | Lets users add values not in the list |
enableVirtualization | boolean | Optimizes rendering for large lists |
popupHeight / popupWidth | string | Constrains popup dimensions |
allowResize | boolean | Lets users drag-resize the popup |
placeholder | string | Input hint text |
The MultiColumn ComboBox (ejs-multicolumncombobox) is a dropdown component that displays data in a multi-column grid-like popup. It supports column configuration, data binding (local/remote), filtering, sorting, grouping, templates, virtualization, events, and accessibility.
📄 Read: references/getting-started.md
ng add @syncfusion/ej2-angular-multicolumn-combobox@<version>)
⚠️ Security note: Pin the package to a specific version to prevent unintended upgrades to potentially compromised releases. Verify the installed version against your lockfile (
package-lock.json/yarn.lock) after installation.
<ejs-multicolumncombobox>dataSource and fields properties<e-columns> and <e-column> child elementspopupHeight, popupWidth)📄 Read: references/columns.md
field, header, widthtextAligntemplate with ng-templatedisplayAsCheckBoxcustomAttributesheaderTemplateformat📄 Read: references/data-binding.md
dataSourcefields: text, value, and groupByquery property to filter/limit remote results📄 Read: references/items.md
text propertyvalue propertyindex propertyplaceholderfloatLabelType (Never/Always/Auto)htmlAttributeswidthpopupWidth, popupHeight)showClearButtoncssClassdisabledreadonlygridSettings: gridLines, rowHeight, enableAltRow)📄 Read: references/filtering.md
allowFilteringfilterType (StartsWith/EndsWith/Contains)📄 Read: references/sorting.md
allowSortingsortOrder (None/Ascending/Descending)sortType📄 Read: references/grouping.md
groupBy field in fields property📄 Read: references/templates.md
itemTemplateheaderTemplategroupTemplatefooterTemplatenoRecordsTemplateactionFailureTemplate📄 Read: references/events.md
actionBegin, actionComplete, actionFailure — data lifecycle eventsselect — item selection eventchange — value change eventfiltering — text input filtering eventopen / close — popup state eventscreated — component rendered event📄 Read: references/virtualization.md
enableVirtualization📄 Read: references/accessibility.md
enableRtlnoRecordsTemplate text using L10n📄 Read: references/api.md
ColumnModel interface propertiesGridSettingsModel interfaceshowPopup, hidePopup, focusIn, focusOut, getDataByValue, getItems, addItemsimport { Component } from '@angular/core';
import { MultiColumnComboBoxModule } from '@syncfusion/ej2-angular-multicolumn-combobox';
@Component({
imports: [MultiColumnComboBoxModule],
standalone: true,
selector: 'app-root',
template: `
<ejs-multicolumncombobox
id='multicolumn'
[dataSource]='empData'
[fields]='fields'
[placeholder]='waterMark'>
<e-columns>
<e-column field='EmpID' header='Employee ID' width='100'></e-column>
<e-column field='Name' header='Name' width='90'></e-column>
<e-column field='Designation' header='Designation' width='100'></e-column>
<e-column field='Country' header='Country' width='90'></e-column>
</e-columns>
</ejs-multicolumncombobox>`
})
export class AppComponent {
public empData: Object[] = [
{ EmpID: 1001, Name: 'Andrew Fuller', Designation: 'Team Lead', Country: 'England' },
{ EmpID: 1002, Name: 'Robert', Designation: 'Developer', Country: 'USA' },
{ EmpID: 1003, Name: 'Michael', Designation: 'HR', Country: 'Russia' }
];
public fields: Object = { text: 'Name', value: 'EmpID' };
public waterMark: string = 'Select an employee';
}
When data comes from an API, use DataManager → Read references/data-binding.md
Enable enableVirtualization to avoid performance issues → Read references/virtualization.md
Use column template with ng-template for images, badges, or custom HTML → Read references/columns.md
Set groupBy in fields to categorize items → Read references/grouping.md
Use showPopup() / hidePopup() methods → Read references/api.md
references/autocomplete-accessibility-and-localization.md (opens in a new tab)references/autocomplete-advanced-patterns-how-to.md (opens in a new tab)references/autocomplete-api.md (opens in a new tab)references/autocomplete-data-binding.md (opens in a new tab)references/autocomplete-feature-configuration.md (opens in a new tab)references/autocomplete-filtering-and-search.md (opens in a new tab)references/autocomplete-form-support-and-validation.md (opens in a new tab)references/autocomplete-getting-started.md (opens in a new tab)references/autocomplete-grouping-and-templates.md (opens in a new tab)references/combobox-accessibility-and-localization.md (opens in a new tab)references/combobox-advanced-patterns-and-how-to.md (opens in a new tab)references/combobox-api.md (opens in a new tab)references/combobox-data-binding.md (opens in a new tab)references/combobox-feature-configuration.md (opens in a new tab)references/combobox-filtering-and-search.md (opens in a new tab)references/combobox-form-support-and-validation.md (opens in a new tab)references/combobox-getting-started.md (opens in a new tab)references/combobox-grouping-and-templates.md (opens in a new tab)references/dropdownlist-api.md (opens in a new tab)references/dropdownlist-customization-and-styling.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angular65 skills in this plugin
/syncfusion-angular-3d-chartImplement interactive 3D charts in Angular applications using Syncfusion. Guide covers setup, chart types (bar, column, stacked variants), customization, data binding, axis configuration, legends, tooltips, selection, data labels, appearance styling, dimensions, print/export, and accessibility. Use this skill whenever a user needs to create, configure, or customize 3D chart visualizations./syncfusion-angular-accordionGuide for implementing Angular Accordion components for collapsible content panels, expandable sections, FAQs, multi-step wizards, step-by-step forms, navigation menus, or tabbed navigation. Use this skill when users mention expanding/collapsing content, accordion layouts, step-by-step workflows, or hierarchical content organization. This skill covers initialization, expand modes, data binding, dynamic loading, animations, nested accordions, and real-world patterns./syncfusion-angular-accumulation-chartImplement and customize Syncfusion Angular Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) with data binding, labels, legends, and tooltips. Use this when creating accumulation charts, configuring chart types, customizing data visualization, adding annotations, or handling interactive chart events in Angular applications./syncfusion-angular-ai-assistviewImplement the Syncfusion Angular AI AssistView component. Use this skill when you need to create conversational AI interfaces, integrate AI services, add chat-like UI, or create intelligent assistant applications. Includes setup, configuration, event handling, AI integrations (OpenAI, Gemini, Ollama), speech features, chain-of-thought reasoning, generative UI tool support, and customization. Use this skill for all AI AssistView component implementation needs./syncfusion-angular-appbarImplement Syncfusion Angular AppBar component for navigation, branding, and actions. Use this skill when user needs to add top or bottom navigation bar, sticky headers, AppBar with buttons/menus/sidebars, positioning options, sizing modes (Regular/Prominent/Dense), color modes (Light/Dark/Primary/Inherit), and styling customization. Covers AppBar properties like isSticky, enablePersistence, enableRtl, htmlAttributes, responsive navigation patterns, action bars, header layouts, and navigation components./syncfusion-angular-barcodeUse Syncfusion EJ2 Angular Barcode/QR components to generate and customize barcodes in Angular. Trigger for Code39/Code128, EAN/UPC, QR Code, Data Matrix, label printing, inventory/product tags, colors/sizing/text, logo overlays, rendering, and export (PNG/SVG/PDF).