Skip to content

Commit

Permalink
Merge branch 'bithost-gmbh:master' into update-restoration-behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemac87 committed Mar 28, 2022
2 parents 4516950 + 0754278 commit abd085d
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 144 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,15 @@ Install `ngx-mat-select-search` in your project:
npm install ngx-mat-select-search
```

Import the `NgxMatSelectSearchModule` in your `app.module.ts`:
Import the `NgxMatSelectSearchModule` e.g. in your `app.module.ts`:
```typescript
import { MatFormFieldModule, MatSelectModule } from '@angular/material';
import { MatSelectModule } from '@angular/material';
import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';

@NgModule({
imports: [
ReactiveFormsModule,
BrowserAnimationsModule,
...
MatSelectModule,
MatFormFieldModule,
NgxMatSelectSearchModule
],
})
Expand All @@ -56,8 +54,7 @@ Use the `ngx-mat-select-search` component inside a `mat-select` element by placi
</mat-select>
</mat-form-field>
```
See the example in [https://github.com/bithost-gmbh/ngx-mat-select-search/blob/master/src/app/app.component.html](https://github.com/bithost-gmbh/ngx-mat-select-search/blob/master/src/app/app.component.html)
and [https://github.com/bithost-gmbh/ngx-mat-select-search/blob/master/src/app/app.component.ts](https://github.com/bithost-gmbh/ngx-mat-select-search/blob/master/src/app/app.component.ts)
See the examples in [https://github.com/bithost-gmbh/ngx-mat-select-search/tree/master/src/app/examples](https://github.com/bithost-gmbh/ngx-mat-select-search/tree/master/src/app/examples)
how to wire the `ngx-mat-select-search` and filter the options available.
Or have a look at [https://github.com/bithost-gmbh/ngx-mat-select-search-example](https://github.com/bithost-gmbh/ngx-mat-select-search-example) to see it in a standalone app.

Expand Down
210 changes: 73 additions & 137 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit abd085d

Please sign in to comment.