-
Feature: allow disabling the clear search button with
[hideClearSearchButton]="true"
#290Thanks to @vlio20
-
Fix: null-pointer exception if no form control directive on
mat-select
#281Thanks to @Daishy for reporting
-
Fix: incorrect restoration of selection when using
[multiple]="true"
#279Thanks to @broekema41
-
Fix: incorrect restoration of selection when using
[multiple]="true"
and no initial selection prior to filtering #270Thanks to @pranavneeraj for reporting
-
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 #263
Thanks to @Ayoubane for reporting
-
Fix: in multi select mode after enter the search is not focused #265
Thanks to @bulldog98
-
Feature: Support Right-To-Left #258
Thanks to @framasev
-
Fix: ensure the placeholder is displayed #256
Thanks to @aminsmartsenese for reporting
-
Fix: Refactor infinity scrolling example #253
Thanks to @NitinMagdum for reporting
-
Fix: properly restore selection when using
[multiple]="true"
#260Thanks to @begandroide for reporting
-
Fix: properly restore selection when using
[multiple]="true"
#249Thanks to @croy618 for reporting
-
Fix: hide no entries found message when options don't change initially #245
Thanks to @PabloPerezAguilo for reporting
-
Fix: correctly show no entries found message when no options are available initially (e.g. in server-side search) #239
Thanks to @Arjun-1r for reporting
-
Fix: prevent scrolling to first option if option does not change (e.g. with infinity scrolling) #200
Thanks to @raysuelzer
-
Enhancement: Add option to clear input when pressing escape with
[enableClearOnEscapePressed]="true"
#231Thanks to @nischi
-
Enhancement: Add compatibility with
@angular/core
:^10.0.0
,@angular/material
:^10.0.0
-
Chore: (Breaking Change) The possibility to place the
<ngx-mat-select-search>
element directly inside<mat-select>
without wrapping it in an<mat-option>
element was removed due to changes of the public API ofmat-select
. #208To fix this, simply place the
<ngx-mat-select-search>
inside a<mat-option>
element. Thanks to @evoltafreak
-
Enhancement: add tooltip message to select-all checkbox #227
Thanks to @arucar
-
Fix: fix selection of different instances of same object when using
multiple
#215Thanks to @Springrbua
-
Chore: enable linting and use @angular-extensions/lint-rules
-
Fix: Prevent unhandled exceptions when pressing arrow keys with no available options #201
Thanks to @josephdecock
-
Enhancement: Improve accessibility by reading the selected option #186
Thanks to @ZacaryPaynter
-
Bugfix: Fix corners not rounded #176
Thanks to @jfcere
-
Bugfix: Fix input width not updated correctly #175
-
Bugfix: ToggleAllCheckbox doesn't use correct theme color 183
Thanks to @LoganDupont for reporting
-
Enhancement: Improve readme on how to use i18n translation for labels #180
Thanks to @JomalJohny
-
Enhancement: Update to Angular
8.2.10
-
Enhancement: Add compatibility with
@angular/core
:^9.0.0
,@angular/material
:^9.0.0
#173Breaking Change:
@angular/core
:< 8.0.0
is not supported anymore, please use version1.8.0
. -
Enhancement: Replace
@angular/material
root imports #161
-
Enhancement: Add option to show a toggle all checkbox with
[showToggleAllCheckbox]="true"
#145Thanks to @blazewalker59
-
Enhancement: Allow custom content transclusion with
.mat-select-search-custom-header-content
-
Bugfix: spinner not visible after reopening select panel #153
Thanks to @saithis for reporting
- Bugfix: Avoid
Cannot read property 'attach' of undefined
when<ngx-mat-select-search>
is not inside a<mat-option>
element with Angular 8 #146
-
Enhancement: Allow setting the initial value of the search input #147
Thanks to @sehgalneha for reporting
-
Enhancement: Allow setting accessibility label of the input with
@Input() ariaLabel
#137Thanks to @tonyholt
-
Enhancement: Allow setting type of the search input field with
@Input() type
#138Thanks to @botoxparty
-
Enhancement: Tested and update peer dependency compatibility to allow
@angular/core
:^8.0.0
,@angular/material
:^8.0.0
-
Enhancement: allow disabling scrolling active element into view when option list changes with
@Input() disableScrollToActiveOnOptionsChanged
#130Thanks to @drakeBear for reporting
-
Bugfix: input field not focused in IE #131
-
Bugfix: clear button not visible after reopening select panel in combination with
[clearSearchInput]="false"
#133Thanks to @cappster for reporting
-
Enhancement: ensure the active option is not covered by the search input when navigating with the arrow keys or when the option list changes when searching. #119
Thanks to @Mabiro
-
Enhancement: allow disabling propagation of home / end key via
@Input() preventHomeEndKeyPropagation
to enable moving the cursor inside the search field instead of navigating the options when pressing Home / End #43Thanks to @geraldhe for reporting
-
Bugfix / Enhancement: Update the input width when the viewport is resized #81
Thanks to @mhosman for reporting
-
Enhancement: add opacity transition animation for search clear icon
-
Enhancement: Allow showing a loading / searching indicator with
@Input() searching
#114Thanks to @mstawick
-
Bugfix: Avoid space when opening select panel after previously showing "no entries found" message when placing
<ngx-mat-select-search>
inside a<mat-option>
element #107Thanks to @aroblu94 for reporting
-
Bugfix: Show "no entries found" message when placing
<ngx-mat-select-search>
inside a<mat-option>
element #101Thanks to @mstawick for reporting
-
Bugfix: Hide checkbox when placing
<ngx-mat-select-search>
inside a<mat-option>
element and with<mat-select multi="true">
#98Thanks to @jkhadivi for reporting
-
Bugfix: Fix scroll issue in iOS #70
Thanks to @JiaHongL
-
Enhancement / Bugfix: Allow placing
<ngx-mat-select-search>
inside a<mat-option>
element. This prevents the search field being placed outside of the visible viewport (#1).Note: it is still possible to place the
<ngx-mat-select-search>
element directly inside<mat-select>
without wrapping it in an<mat-option>
element.Thanks to @hanuhimanshu
-
Examples: Add example for server-side filtering #26
Thanks to @hanuhimanshu
-
Examples: Add example for option groups #15
Thanks to @maechler
-
Examples: refactor examples into separate components #86
-
Bugfix: Error when quickly selecting an option #69
Thanks to @olaf89 for reporting
-
Bugfix: Filter selection jumps to next entry #73
Thanks to @Kimmova
-
Bugfix: Wrong panel positioning when select is at bottom edge of viewport due to overridden panel height (
350px
). The default panel height (256px
) will be used #63Note: the panel height can be changed via css (not recommended, as it leads to issues):
.mat-select-search-panel { ... max-height: 350px; }
Thanks to @hadsy for reporting.
-
Enhancement: Tested and update peer dependency compatibility to allow
@angular/core
:^7.0.0
,@angular/cdk
:^7.0.0
,@angular/material
:^7.0.0
-
Enhancement: Allow disabling initial focusing of the input field with
@Input() disableInitialFocus
#47 -
Bugfix: Clearing the search input by clicking the clear icon did not work with
[clearSearchInput]="false"
#55Thanks to @ofriedrich for reporting
-
Bugfix: Error thrown when used together with
*ngIf
#53Thanks to @rhyre for reporting
-
Enhancement: allow customization of the clear icon #41
Thanks to @OvidijusStukas
-
Enhancement: Add note about possible workaround for search input being displayed outside of the visible viewport in some cases #1
Thanks to @maxencefrenette
- Enhancement: ensure forward compatibility independent of markup changes #38
- Enhancement: fix warnings in tests, improve example
- Bugfix: input shows rounded corners when used together with MatDatepicker #33
-
Bugfix: input shows drop shadow when used together with MatDatepicker #33
Thanks @irowbin for reporting
-
Bugfix: Width of the input field is wrong in IE11 when using large option texts with angular material 6+. #29
Thanks to @Sabartius
-
Enhancement: allow preventing clearing the search input when closing the select, needed for server-side filtering. #3
Thanks to @damianmigo
-
Enhancement: Use material theming and typography #21
Thanks to @Avejack
-
Enhancement: Adjust input field width to actual scroll bar width #21
Thanks to @Avejack
-
Enhancement: Add Angular 6 compatibility, update dependencies #23
Note: this reverts the RxJS operator path improvements (#17) in order to be compatible with both, Angular 5.x.x and 6.x.x
-
Enhancement: Really improve tree-shaking by importing RxJS operators from specific path #17
Thanks to @mtraynham
-
Enhancement: improve tree-shaking by importing RxJS operators from specific path #17
Thanks to @mtraynham
-
Enhancement: prevent scrollbar flashing when opening / closing #2
Thanks to @alexandrupaul7
- Enhancement: disable autocomplete for search input field #5
-
Bugfix: don't clear initial selection with
multi="true"
#6Thanks to @joqkey
-
Bugfix: show "no options found" message as soon as no options are found #4, #10
- Initial Release