Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-mat-select-search

Package Overview
Dependencies
Maintainers
0
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-mat-select-search

Angular component providing an input field for searching / filtering MatSelect options of the Angular Material library.

  • 7.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
122K
increased by4.4%
Maintainers
0
Weekly downloads
 
Created

What is ngx-mat-select-search?

ngx-mat-select-search is an Angular component that provides a search functionality for Angular Material's mat-select component. It allows users to filter options in a dropdown list, making it easier to find and select items from a large list.

What are ngx-mat-select-search's main functionalities?

Basic Search

This feature allows you to add a search input inside a mat-select dropdown. The search input filters the options in the dropdown based on the user's input.


<mat-form-field>
  <mat-select [formControl]="myControl" placeholder="Select an option">
    <ngx-mat-select-search [formControl]="searchControl"></ngx-mat-select-search>
    <mat-option *ngFor="let option of filteredOptions | async" [value]="option">
      {{ option }}
    </mat-option>
  </mat-select>
</mat-form-field>

Custom Placeholder

This feature allows you to customize the placeholder text of the search input inside the mat-select dropdown.


<ngx-mat-select-search [formControl]="searchControl" placeholderLabel="Search options..."></ngx-mat-select-search>

Custom No Entries Found Message

This feature allows you to customize the message displayed when no options match the search input.


<ngx-mat-select-search [formControl]="searchControl" noEntriesFoundLabel="No matching options"></ngx-mat-select-search>

Other packages similar to ngx-mat-select-search

Keywords

FAQs

Package last updated on 03 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc