mat-select-robot-search
v0.1.1
Published
material angular select with search
Downloads
3
Readme
MatSelectRobotSearch
This library was generated with Angular CLI version 15.2.0.
Code scaffolding
use ng add @angular/material
.
Note: Don't forget import Module => MatSelectRobotSearchModule `. html : <mat-select-robot-search error="The desired city was not found" label="Cities" [items]="Cities" formControlName="Cities"> interface : export interface SelectedInterface { code: number label: string }
ts :Cities: SelectedInterface[] = [{code: 1, label: 'tehran'}, {code: 2, label: 'abadan'}, {code: 3, label: 'shiraz'}, {code: 4, label: 'mashhad'}, {code: 5, label: 'ahvaz'}, {code: 6, label: 'arak'}, {code: 7, label: 'kerman-shah'}, {code: 8, label: 'kerman'}, {code: 9, label: 'mazandaran'}, {code: 10, label: 'gilan'},]
Further help
Please email me : navidbahrami8gmail.com instagram :@angular.destiny Good Luck