Skip to content

Commit

Permalink
Merge pull request #51 from bithost-gmbh/feature/50-docs-improvement
Browse files Browse the repository at this point in the history
#50: add example for changing labels
  • Loading branch information
macjohnny authored Aug 20, 2018
2 parents b625f68 + 7714b16 commit 1f2439b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@ and [https://github.com/bithost-gmbh/ngx-mat-select-search/blob/master/src/app/a
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.

### Labels
In order to change the labels, use the inputs specified in the [API](#api) section as follows:
```html
...
<ngx-mat-select-search [formControl]="bankFilterCtrl"
[placeholderLabel]="'Find bank...'"
[noEntriesFoundLabel]="'no matching bank found'"></ngx-mat-select-search>
...
```

### Compatibility

* `@angular/core`: `^5.0.0 || ^6.0.0`,
Expand Down

0 comments on commit 1f2439b

Please sign in to comment.