Skip to content

Commit

Permalink
Merge pull request #80 from Rogermax/master
Browse files Browse the repository at this point in the history
Solves #67 & #7
  • Loading branch information
AnthonyNahas authored Sep 3, 2021
2 parents 3b2ab34 + 27e3034 commit d80d26c
Show file tree
Hide file tree
Showing 30 changed files with 271 additions and 34,591 deletions.
Empty file modified .github/ISSUE_TEMPLATE.md
100755 → 100644
Empty file.
Empty file modified .travis.yml
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,12 @@ Other modules in your application like for lazy loading import `MatSelectCountry
| loading | `Input()` | `boolean` | - | Whether the component is loading |
| nullable | `Input()` | `boolean` | - | Whether the component is able to emit `null` |
| readonly | `Input()` | `boolean` | - | Whether the component is read only |
| tabIndex | `Input()` | `number | string` | - | Whether the component can be focused, and where it participates in sequential keyboard navigation |
| tabIndex | `Input()` | `number \| string` | - | Whether the component can be focused, and where it participates in sequential keyboard navigation |
| showCallingCode | `Input()` | `boolean` | false | Whether the component to show the country's calling code in the label and selection |
| class | `Input()` | `string` | - | Class attribute apply style to input text or validation ignore (optional) |
| language | `Input()` | `string` | - | the language, if not specified MatSelectCountryModule.forRoot('XX') will be used (optional) |
| name | `Input()` | `string` | 'country' | the attribute name of the input element |
| autocomplete | `Input()` | `string` | - | the attribute autocomplete of the input element, to avoid suggestion of some browsers put 'no' |
| onCountrySelected | `Output()` | `EventEmitter<Country>` | - | emits the selected country as object (see the interface below) |

```typescript
Expand Down Expand Up @@ -345,6 +348,14 @@ Result:

only 5 countries will fetched!

### Change language dynamically - use the `language` property
```html
<mat-select-country appearance="outline"
label="Country"
[language]="languageSelected"
(onCountrySelected)="onCountrySelected($event)">
</mat-select-country>
```


<a name="run-demo-app-locally"/>
Expand Down
Empty file modified assets/angular-material-extensions-logo.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/angular-material-extensions-logo.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/jetbrains-variant-4_logos/LICENSE.txt
100755 → 100644
Empty file.
Empty file modified assets/jetbrains-variant-4_logos/jetbrains-variant-4.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/jetbrains-variant-4_logos/jetbrains-variant-4.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

2 comments on commit d80d26c

@prosidney
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please merge this.

@AnthonyNahas
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just release v5.1.0 🍻

Please sign in to comment.