diff --git a/CHANGELOG.md b/CHANGELOG.md index 5387567..ed1c5b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 3.1.2 +* Fix: incorrect restoration of selection when using `[multiple]="true"` and no initial selection prior to filtering + [#270](https://github.com/bithost-gmbh/ngx-mat-select-search/issues/270) + + Thanks to @pranavneeraj for reporting + ## 3.1.1 * Enhancement: Add compatibility with `@angular/core`: `^11.0.0`, `@angular/material`: `^11.0.0` * Fix: set first item active if no item is active after filtering diff --git a/package-lock.json b/package-lock.json index be6f00c..ee0d976 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ngx-mat-select-search", - "version": "3.1.1", + "version": "3.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7b02769..6c43f30 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "$schema": "./node_modules/ng-packagr/package.schema.json", "name": "ngx-mat-select-search", "description": "Angular component providing an input field for searching / filtering MatSelect options of the Angular Material library.", - "version": "3.1.1", + "version": "3.1.2", "license": "MIT", "scripts": { "ng": "ng", diff --git a/src/app/mat-select-search/ngx-mat-select-search.module.ts b/src/app/mat-select-search/ngx-mat-select-search.module.ts index d3332de..b57cf5a 100755 --- a/src/app/mat-select-search/ngx-mat-select-search.module.ts +++ b/src/app/mat-select-search/ngx-mat-select-search.module.ts @@ -17,7 +17,7 @@ import { CommonModule } from '@angular/common'; import { MatSelectSearchClearDirective } from './mat-select-search-clear.directive'; import { ReactiveFormsModule } from '@angular/forms'; -export const MatSelectSearchVersion = '3.1.1'; +export const MatSelectSearchVersion = '3.1.2'; @NgModule({