All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.1.1 (2019-10-19)
3.1.0 (2019-10-14)
3.0.7 (2019-08-25)
- run close event inside zone (b5f63b6), closes #1309
- scroll to marked item only when it is outside of panel height (eb1a803), closes #1273
3.0.6 (2019-08-05)
3.0.5 (2019-07-30)
3.0.4 (2019-07-26)
- dynamic footer and header template (#1268) (8787fa9), closes #1282
- use regex with multiple return to highlight multiple search terms (#1275) (8a0d880), closes #739
3.0.3 (2019-07-15)
3.0.2 (2019-07-11)
- ng-option: don't escape html inside ng-options (7ccea9d), closes #506
- ng-option: handle label updates (634c804), closes #649
3.0.1 (2019-07-09)
- update peer dependencies to start from v8 (a90e3f1)
3.0.0 (2019-07-08)
- emit add event after model has been updated (86d611d), closes #620
- preserve items without group order (86ab751), closes #1132
- stringify group label (d8be200), closes #1052
- use border thin for material theme (1083ff6), closes #969
- move [ngOptionHighlight] to a separate package (c09dde8), closes #1116
- remove [excludeGroupsFromDefaultSelection] (4fef383)
- add input for tabIndex (112f6a2), closes #1175
- expose blur method (643cf52), closes #1238 #1242
- pass custom input attributes using
inputAttrs
(1614aa7), closes #1222 - update ng-select to support angular v8 (2e4d329), closes #1196
- autoCorrect, autoCapitalize are now removed.
[ngOptionHighlight]
is now available from @ng-select/ng-option-highlight[excludeGroupsFromDefaultSelection]
is now removed until better solution is foundfilterValue
is now available assearchTerm
2.20.5 (2019-07-04)
2.20.4 (2019-07-04)
2.20.3 (2019-07-02)
2.20.2 (2019-06-27)
- don't calculate panel dimensions for empty array (9d8ccf3), closes #1237
- ignore tab when dropdown is closed and addTag is false (7f31ea6), closes #1212
2.20.1 (2019-06-25)
-
fix: don't fire scroll to end when scrollTop = 0 (c2b094e), fixes #1018
-
dropdown panel rework, closes #899, #890, #1018, #1023, #1144, #1095, #1122, #1163, #955
2.20.0 (2019-05-18)
- add tag on tab when isOpen = false (ab8b661), closes #1159
- disable input when max items is selected (240f4b5), closes #1168
- remove unnecessary stopPropagation calls (e994937), closes #1169
- take into account bindLabel when adding tag (36bc0d2), closes #1141
- take into account bindValue if groupValue is used (941217f), closes #1161
2.19.0 (2019-05-04)
- add getter for current dropdown position (0cc4203)
2.18.0 (2019-04-20)
- proper ant design theme (b6c8535)
2.17.0 (2019-04-11)
- add ant-design theme (b1f3446)
2.16.4 (2019-04-01)
2.16.3 (2019-03-28)
2.16.2 (2019-03-08)
2.16.1 (2019-03-08)
2.16.0 (2019-02-28)
2.15.3 (2019-02-05)
2.15.2 (2019-02-01)
- single: allow to unselect last selected value even if disabled (25e8e4f), closes #1036
- add class to dropdown panel only when appendTo is used (797ac9e), closes #1035
- themes: use more variables (45af289), closes #388
2.15.1 (2019-01-25)
- set items from ngOptions only when [items] unused (f4e4c6b)
2.15.0 (2019-01-24)
- ng-option: don't filter out empty array (90feb5f), closes #1019
- don't allow to unselect disabled items (26744d0), closes #971
- added autocorrect and autocapitalize inputs (#1017) (c7dd2ac), closes #994
- initial children grouping implementation (#1022) (75bd930), closes #186
2.14.0 (2019-01-09)
2.13.3 (2018-12-20)
2.13.2 (2018-12-18)
2.13.1 (2018-12-05)
2.13.0 (2018-12-03)
2.12.1 (2018-11-14)
- handler mousedown for clear event when used animation library (#931) (dfbbcd6), closes #928
- use classList instead of className (bc6f084), closes #940
2.12.0 (2018-11-06)
- allow to customise clear icon (3e8ad77), closes #835
- autofocus: focus if attribute is present (#924) (b78f39f), closes #762
- clearOnBackspace: configure whether backspace removes selection (af79a45), closes #861
- isOpen: treat undefined value as default behaviour (127d6be), closes #816
2.11.2 (2018-10-25)
2.11.1 (2018-10-20)
- repository links and silence angular 7 install warning (9746073)
2.11.0 (2018-10-19)
2.10.5 (2018-10-17)
- don't validate selected model when compareWith is used (e30e365)
2.10.4 (2018-10-16)
2.10.3 (2018-10-15)
2.10.2 (2018-10-09)
2.10.1 (2018-10-03)
2.10.0 (2018-10-03)
2.9.1 (2018-09-20)
- tags: add tag as string when there are no items defined (7dd4094), closes #809
- tags: allow to add previously added tag when select is closed (daac234), closes #783
2.9.0 (2018-09-13)
- groupValue: allow to specify custom grouped value (b458231)
2.8.1 (2018-09-11)
- correctly map selected items from items array (c8216e8), closes #781
- don't clear search term when closeOnSelect is false (4fc243a), closes #794
2.8.0 (2018-09-07)
2.7.1 (2018-09-05)
-
use factory to resolve new instance of selection model (#789) (f1a4f23), closes #787
-
don't set group as selected when all it's children selected (5f63d13)
2.6.0 (2018-08-30)
- set group as selected when all children selected (8afda25)
2.5.1 (2018-08-27)
- stop mouse down propagation at the beginning (b85dedd)
2.5.0 (2018-08-17)
2.4.3 (2018-08-15)
2.4.2 (2018-08-12)
- listen to
touchstart
events for outside click. (70fcd66) - remove circular dependency between dropdown and select cmp (#741) (7520e85), closes #668
2.4.1 (2018-08-09)
2.4.0 (2018-08-08)
- tagging: don't show tag if it exists among items or selected (d5e97af), closes #693
- accept spaces while tagging without dropdown (4320098), closes #676
2.3.6 (2018-07-30)
2.3.5 (2018-07-18)
2.3.4 (2018-07-18)
- don't fail while resolving selected item using ng-option (6c676c8), closes #677
- emit focus and blur events (3edb0df), closes #690
2.3.3 (2018-07-10)
- don't fire addEvent for single select (cbfd948)
- don't fire change event for same selection (8ed435c), closes #664
2.3.2 (2018-06-27)
2.3.1 (2018-06-22)
2.3.0 (2018-06-21)
2.2.0 (2018-06-18)
- isOpen: allow to control whether dropdown should open or close (ab6c388)
2.1.3 (2018-06-01)
- groupBy: treat empty string as valid group (acef714)
2.1.2 (2018-05-30)
2.1.1 (2018-05-29)
2.1.0 (2018-05-24)
- styles: make group more distinctable (5808eb7)
- typeahead: don't insert option back to list for newly created tag (4c20e9e), closes #513
- don't group items without key (0bf6483)
- add placeholder as global config (ad8a644)
2.0.3 (2018-05-18)
2.0.2 (2018-05-17)
- theme: add padding for multiselect (6a9f680)
2.0.1 (2018-05-16)
2.0.0 (2018-05-11)
- this changes utilizes new RXJs 6 which is not with previous version. Due to that angular version was also increased.
1.4.2 (2018-05-10)
- material: set min height for ng-option (eb6f9bd), closes #520
- style: add padding to individual disabled elements (6e5cf50), closes #406
1.4.1 (2018-05-05)
- keep input focues while clicking dropdown items (fe3853d), closes #514
- reset marked item when items updated (5f05b30), closes #510
1.4.0 (2018-05-01)
1.3.0 (2018-04-26)
1.2.1 (2018-04-25)
- remove initial dropdown append logic from updateDropdownPosition (ea06c64)
1.2.0 (2018-04-25)
1.1.4 (2018-04-24)
- add min-width to dropdown panel (ef247a8)
1.1.3 (2018-04-24)
- use width for dropdown panel (c07351c)
1.1.1 (2018-04-22)
- use bindlabel for group key when using fn expression (1006a93), closes #488
- use min-width for dropdown panel (727c637), closes #476
- use random id for autocomplete attribute (e097c4a), closes #269
1.1.0 (2018-04-19)
1.0.6 (2018-04-19)
- rework outside click (d248545)
1.0.5 (2018-04-18)
1.0.4 (2018-04-18)
- increase css specifity (0d1d13c), closes #468
- use blur event to close dropdown (1f85adc)
- use special value mapping for ng-options (61d61a2)
1.0.3 (2018-04-17)
- hideSelected: allow to open dropdown when tagging enabled (#464) (852643f), closes #457
- close dropdown on outside click (#465) (8d8f2a5), closes #453 #313
- do not try to set loading state automatically (#466) (7e3a12d)
1.0.2 (2018-04-16)
1.0.1 (2018-04-16)
- do not use HostBinding for focus state (#461) (5de7e30)
- support object value in ng-option (#459) (829fea5), closes #414
1.0.1-rc.0 (2018-04-16)
- add ng-option-marked class for custom tags (a158d7b)
- remove input if searchable is false (#442) (2149517)
- rename focusSearchInput to focus (#447) (cb71544)
0.36.2 (2018-04-11)
- use interpolation instead of innerHTML (79d555a)
0.36.1 (2018-04-11)
0.36.0 (2018-04-10)
0.35.2 (2018-04-09)
0.35.1 (2018-04-06)
- show type to search on typeahead (#416) (ed1b3d6), closes #405
- use Map to preserve groups order (#419) (aff8468)
0.35.0 (2018-04-04)
0.34.3 (2018-03-31)
- hide IE input clear icon (8138c73), closes #401
- keep placeholder visible in material theme (1e16f98), closes #358
- use correct aria role (e55b674), closes #403
0.34.2 (2018-03-30)
0.34.1 (2018-03-30)
- remove default compareWith (ec56c64)
0.34.0 (2018-03-30)
0.33.0 (2018-03-30)
0.32.0 (2018-03-29)
0.31.1 (2018-03-27)
0.31.0 (2018-03-27)
0.30.1 (2018-03-19)
- break loop while marking items (#363) (9888981), closes #361
- remove appended dropdown node (#366) (81bfcab)
0.30.0 (2018-03-15)
0.29.1 (2018-03-15)
- don't reset items while selecting (68b3726)
- skip writeValue handling if value is empty (#351) (9d5811e), closes #348
0.29.0 (2018-03-14)
0.28.1 (2018-03-13)
0.28.0 (2018-03-13)
- clear previous model then setting new programatically (#346) (3311f8c), closes #343
- demo custom templates (32c4b25)
- template: loading, not found, type to search state template options. (#341) (acdf5c2), closes #217 #201
0.27.1 (2018-03-12)
- remove uneeded api field (68b12f5)
0.27.0 (2018-03-12)
- wrong method for api unselect (531fd1b)
0.26.2 (2018-03-09)
0.26.1 (2018-03-08)
0.26.0 (2018-03-07)
0.25.0 (2018-03-05)
0.24.1 (2018-03-03)
0.24.0 (2018-02-28)
0.23.3 (2018-02-28)
0.23.2 (2018-02-28)
0.23.1 (2018-02-27)
- close dropdown on outside click (#296) (66a0a8c), closes #289 #270
- hide clear button on disable (#295) (a85c53f)
0.23.0 (2018-02-26)
0.22.0 (2018-02-25)
0.21.0 (2018-02-19)
- tags: support promise while creating new tag (#273) (d0295fa), closes #220
- template: expose label in ng-label-tmp (f3cfc7a), closes #274
0.20.4 (2018-02-16)
0.20.3 (2018-02-15)
0.20.2 (2018-02-10)
- multiselect: allow to clear item even no items available (#251) (fb7b94b), closes #247
- don't show not found text while loading (#252) (6be231a), closes #243
0.20.1 (2018-02-08)
0.20.0 (2018-02-08)
0.19.0 (2018-02-07)
0.18.0 (2018-02-06)
0.17.2 (2018-02-05)
0.17.1 (2018-02-04)
0.17.0 (2018-02-02)
- add support for nested value bindings (#229) (3551917), closes #219
- Close dropdown on select by default (#226) (77d36ca), closes #222
0.16.0 (2018-01-29)
- using a getter/setter for isLoading which enables exposing the same and having a change emitter (#206) (cd3dec1), closes #205
0.15.2 (2018-01-18)
0.15.1 (2018-01-17)
0.15.0 (2018-01-17)
- header and footer templates (#193) (e09eeb5)
- use injection token for module configuration (#195) (f5e99f0)
0.14.4 (2018-01-16)
0.14.3 (2018-01-09)
- check if bindLabel exist while searching for selected items (1835187)
0.14.2 (2018-01-06)
- Styling flaw when using dropdownPosition top (#173) (28d4337)
- templates: unselect item using value fixes #175 (6f245de)
0.14.1 (2017-12-20)
0.14.0 (2017-12-20)
0.13.0 (2017-12-18)
0.12.0 (2017-12-05)
0.11.0 (2017-11-29)
0.10.0 (2017-11-27)
0.9.0 (2017-11-26)
- add .ng-select host css class (#139) (e386150)
- custom tags insertion on multiselect (#135) (63d9f70)
- mark for check when closing dropdown (#140) (78ff661)
0.8.0 (2017-11-20)
0.7.0 (2017-11-16)
0.6.2 (2017-11-10)
0.6.1 (2017-11-07)
- bump angular peer version (7a611df)
0.6.0 (2017-11-03)
0.5.0 (2017-10-31)
- add selected ng-option label font weight (#115) (1ff9b53)
- remove unnecessary FormsModule. (#112) (4e211cb)
0.4.5 (2017-10-28)
0.4.4 (2017-10-28)
- don't clear selection on backspace when clearable false fixes #82 (95505fe)
- don't fire change event on blur (582184e), closes #102
- don't fire change event when there is no selected value (10999cb), closes #91
0.4.3 (2017-10-27)
0.4.2 (2017-10-25)
0.4.1 (2017-10-22)
0.4.0 (2017-10-20)
0.3.1 (2017-10-20)
0.3.0 (2017-10-18)
0.2.5 (2017-10-04)
0.2.4 (2017-10-04)
0.2.3 (2017-10-04)
0.2.2 (2017-10-03)
0.2.1 (2017-10-01)
- do not use document click HostListener (80b6aa2)
- run virtual scroll calculations outside angular zone (43ef5b9)
0.2.0 (2017-09-30)
- handle clear and arrow click correctly (95b6e99)
- navigation: close dropdown on tab click fixes #46 (#53) (32ff7e3)
- allow to configure module settings globally (d6d6e8d)
0.1.3 (2017-09-30)
- click issue using custom template closes #6 (571319c)
- virtual scroll scrollTop value calculation (1b0ed3c)
- mark item on hover fixes #45 (e95a60c)
0.1.2 (2017-09-28)
- Check if change detector is not destroyed (5f30ce8)
0.1.1 (2017-09-27)
- Clear all selected values before new model write action (c76d410)
0.1.0 (2017-09-25)
- Do not fire duplicate events (ebf2927)
- Fire close event only dropdown was opened (e4084ea)
- Increase dropdown container height (1c30d71)
- Focus first item on open/keyup (72f4dd0)