Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
ngx-mat-select
Advanced tools
It is an independent component like mat-select and a solution for handling SearchBox, VirtualScroll and InfiniteScroll which the Angular material select-box does not support them by it-self.
It is an independent component like mat-select and a solution for handling SearchBox, VirtualScroll and InfiniteScroll which the Angular material select-box does not support them by it-self.
Extra Advantages that you'll gain more than using mat-select:
Searchable
in the both client and server side modesVirtual Scroll
in the both client and server side modes as wellInfinite Scroll
in the server side modeRLT support (use dir='rtl' in html tag)
Angular Material | NgxMatSelect |
---|---|
16.x.x | >= 16 |
15.x.x | >= 15 |
14.x.x | >= 14 |
the first step is to initial ngx-mat-select theme like the other Angular Material Components
for example add the following line in the styles.scss file:
@use "ngx-mat-select" as ngxMatSelect;
or
@use "node_modules/ngx-mat-select" as ngxMatSelect;
then apply your Angular Material Theme to the ngxMatSelect theme
@include ngxMatSelect.theme($your-theme);
@include ngxMatSelect.typography($your-typography);
if you want to use dark-theme and light-theme:
.darkMode {
...
@include ngxMatSelect.theme($your-dark-theme);
}
The second step is to add NgxMatSelectModule into your Module
import {NgxMatSelectModule} from "ngx-mat-select";
...
@NgModule({
imports: [
...
NgxMatSelectModule
...
]
})
providers: [
{
provide: NGX_MAT_SELECT_CONFIG,
useValue: {
viewType?: NgxMatSelectViewType;
hasBackButton?: boolean;
multipleDisplay?: NgxMatSelectMultipleDisplay;
dataKey?: string;
optionLabel?: string;
optionValue?: string;
panelWidth?: string | number | null;
overlayPanelClass?: string | string[];
optionHeight?: number;
panelHeight?: number;
}}
],
FAQs
It is an independent component like mat-select and a solution for handling SearchBox, VirtualScroll and InfiniteScroll which the Angular material select-box does not support them by it-self.
We found that ngx-mat-select demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.