ngx-searchable-select is an Angular library designed to extend the mat-select component of Angular Material and include an embedded search functionality.
v17.x for Angular >= 17.x
v16.x for Angular >= 16.x
After creating a new Angular project simply run:
npm install ngx-searchable-select --save
-
Firstly, import NgxSearchableSelectComponent in your app module (or any other proper Angular Module, Standalone Components also work).
import { NgxSearchableSelectComponent } from 'ngx-searchable-select'; @NgModule({ imports: [ NgxSearchableSelectComponent ], }) export class AppModule {}
-
Then use the ngx-searchable-select tag in the HTML of your Angular component:
<ngx-searchable-select label="User" />