ng-select2-component 16.0.0 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,505 +1,597 @@
1
1
  # Changelog of ng-select2
2
2
 
3
+ ## V17.0.0 (2024-12-23)
4
+
5
+ ### Changes
6
+
7
+ - Rewrite the component to use all the advances of Angular:
8
+ - Switch to stand-alone component mode
9
+ - Use of signals for inputs & queries
10
+ - Removed a lot of setTimeout
11
+ - Improved the overlay with the CDK
12
+ - Fix autocreate with single option
13
+ - Add resettable with multiple mode
14
+ - Fix inconsistencies in the code
15
+ - Much stricter code rewriting
16
+ - Accessibility (from 15.4.0)
17
+ - Added/modified accessibility attributes
18
+ - New inputs for accessibility
19
+ - `title`
20
+ - `ariaLabelledBy`
21
+ - `ariaDescribedBy`
22
+ - `ariaInvalid`
23
+ - `ariaResetButtonDescription`
24
+ - Improved focus/blur
25
+ - Fixed readonly
26
+ - Added reset button to tab navigation
27
+ - Keyboard interactions
28
+ - Update
29
+ - `Escape`: Improved focus after closing popup.
30
+ - `Tab`: Navigates correctly when no searchbox.
31
+ - New
32
+ - `Home`: Opens popup. Goes to first option.
33
+ - `End`: Opens popup. Goes to last option.
34
+ - `PageUp`: Opens popup. Goes up 10 options.
35
+ - `PageDown`: Opens popup. Goes down 10 options.
36
+ - `Space`: Opens popup. Selects option when there is no search input.
37
+ - `Alt`+`Down`, `Alt`+`Up`: Opens/closes popup.
38
+
39
+ ### Demo
40
+
41
+ - New demo
42
+
43
+ ---
44
+
3
45
  ## V16.0.0 (2024-11-27)
4
46
 
5
47
  ### Breaking Changes
6
48
 
7
- - minimum required support has been upgraded to Angular `19.0`.
49
+ - minimum required support has been upgraded to Angular `19.0`.
50
+
51
+ ---
52
+
53
+ ## V15.4.0 (on a branch) (2024-12-18)
54
+
55
+ ### Changes
56
+
57
+ - Added/modified accessibility attributes
58
+ - New inputs for accessibility
59
+ - `title`
60
+ - `ariaLabelledBy`
61
+ - `ariaDescribedBy`
62
+ - `ariaInvalid`
63
+ - `ariaResetButtonDescription`
64
+ - Improved focus/blur
65
+ - Fixed readonly
66
+ - Added reset button to tab navigation
67
+ - Keyboard interactions
68
+ - Update
69
+ - `Escape`: Improved focus after closing popup.
70
+ - `Tab`: Navigates correctly when no searchbox.
71
+ - New
72
+ - `Home`: Opens popup. Goes to first option.
73
+ - `End`: Opens popup. Goes to last option.
74
+ - `PageUp`: Opens popup. Goes up 10 options.
75
+ - `PageDown`: Opens popup. Goes down 10 options.
76
+ - `Space`: Opens popup. Selects option when there is no search input.
77
+ - `Alt`+`Down`, `Alt`+`Up`: Opens/closes popup.
78
+
79
+ ### Demo
80
+
81
+ - Fixed bugs
82
+ - Added accessibility exemples
8
83
 
9
84
  ## V15.3.0 (2024-11-16)
10
85
 
11
86
  ### Changes
12
87
 
13
- - Add properties:
14
- - `selectionOverride`: Change what is displayed in the selection area #79
15
- - `selectionNoWrap`: Force selection on one line #79
16
- - `showSelectAll`: Add an option to select all options c #80
17
- - `selectAllText`: Text when all options as not selected #80
18
- - `removeAllText`: Text when all options as selected #80
19
- - Fix labels of selected options #81
88
+ - Add properties:
89
+ - `selectionOverride`: Change what is displayed in the selection area #79
90
+ - `selectionNoWrap`: Force selection on one line #79
91
+ - `showSelectAll`: Add an option to select all options c #80
92
+ - `selectAllText`: Text when all options as not selected #80
93
+ - `removeAllText`: Text when all options as selected #80
94
+ - Fix labels of selected options #81
20
95
 
21
96
  ## V15.2.1 (2024-08-22)
22
97
 
23
98
  ### Changes
24
99
 
25
- - Delete a forgotten logger #75
100
+ - Delete a forgotten logger #75
26
101
 
27
102
  ## V15.2.0 (2024-08-03)
28
103
 
29
104
  ### Changes
30
105
 
31
- - Add templates for selection (see readme or code generator) #74
106
+ - Add templates for selection (see readme or code generator) #74
32
107
 
33
108
  ## V15.1.0 (2024-08-02)
34
109
 
35
110
  ### Changes
36
111
 
37
- - Add grid layout mode in dropdown #72
38
- - Fix init value in multiple mode #73
39
- - Fix reset value
112
+ - Add grid layout mode in dropdown #72
113
+ - Fix init value in multiple mode #73
114
+ - Fix reset value
40
115
 
41
116
  ## V15.0.1 (2024-07-24)
42
117
 
43
118
  ### Changes
44
119
 
45
- - Fix reset with multiple #69
46
- - Rewrite update event #69
120
+ - Fix reset with multiple #69
121
+ - Rewrite update event #69
47
122
 
48
123
  ## V15.0.0 (2024-05-31)
49
124
 
50
125
  ### Breaking Changes
51
126
 
52
- - minimum required support has been upgraded to Angular `18.0`.
127
+ - minimum required support has been upgraded to Angular `18.0`.
53
128
 
54
129
  ### Changes
55
130
 
56
- - manage blur event (overlay, click on option)
131
+ - manage blur event (overlay, click on option)
132
+
133
+ ---
57
134
 
58
135
  ## V14.0.1 (2024-03-04)
59
136
 
60
- - add `borderless` style
137
+ - add `borderless` style
61
138
 
62
139
  ## V14.0.0 (2024-01-07)
63
140
 
64
141
  ### Breaking Changes
65
142
 
66
- - minimum required support has been upgraded to Angular `17.0`.
143
+ - minimum required support has been upgraded to Angular `17.0`.
144
+
145
+ ---
67
146
 
68
- ## V13.0.10 (2024-03-04)
147
+ ## V13.0.12 (on a branch) (2024-07-24)
69
148
 
70
- - add `borderless` style
149
+ - Fix reset with multiple #69
150
+ - Rewrite update event #69
151
+
152
+ ## V13.0.11 (on a branch) (2024-06-14)
153
+
154
+ - manage blur event (overlay, click on option)
155
+
156
+ ## V13.0.10 (on a branch) (2024-03-04)
157
+
158
+ - add `borderless` style
71
159
 
72
160
  ## V13.0.9 (2023-09-24)
73
161
 
74
- - add `autoCreate` for single mode #56 (thanks @majora2007)
75
- - add `autoCreateItem` event #56 (thanks @majora2007)
162
+ - add `autoCreate` for single mode #56 (thanks @majora2007)
163
+ - add `autoCreateItem` event #56 (thanks @majora2007)
76
164
 
77
165
  ## V13.0.8 (2023-08-29)
78
166
 
79
- - fix focus on blur
167
+ - fix focus on blur
80
168
 
81
169
  ## V13.0.7 (2023-08-29)
82
170
 
83
- - fix tab navigation (don't open dropdown with tab)
171
+ - fix tab navigation (don't open dropdown with tab)
84
172
 
85
173
  ## V13.0.6 (2023-08-23)
86
174
 
87
- - fix value when data changes with NgControl
175
+ - fix value when data changes with NgControl
88
176
 
89
177
  ## V13.0.5 (2023-08-23)
90
178
 
91
- - update current value when data changes
179
+ - update current value when data changes
92
180
 
93
181
  ## V13.0.4 (2023-08-22)
94
182
 
95
183
  ### Changes
96
184
 
97
- - improve keyboard navigation
98
- - fixed arrow navigation when there is no search field
99
- - improve tab and input actions (fix when unfocus)
100
- - add CSS variables:
101
- - `--select2-selection-line-height`
102
- - `--select2-selection-padding`
103
- - `--select2-selection-multiple-gap`
104
- - `--select2-selection-multiple-padding`
105
- - `--select2-option-padding`
185
+ - improve keyboard navigation
186
+ - fixed arrow navigation when there is no search field
187
+ - improve tab and input actions (fix when unfocus)
188
+ - add CSS variables:
189
+ - `--select2-selection-line-height`
190
+ - `--select2-selection-padding`
191
+ - `--select2-selection-multiple-gap`
192
+ - `--select2-selection-multiple-padding`
193
+ - `--select2-option-padding`
106
194
 
107
195
  ## V13.0.2 (2023-08-15)
108
196
 
109
197
  ### Changes
110
198
 
111
- - fix customSearchEnabled
199
+ - fix customSearchEnabled
112
200
 
113
201
  ## V13.0.1 (2023-07-31)
114
202
 
115
203
  ### Changes
116
204
 
117
- - add `resetSelectedValue` parameter #42
118
- - fix `autoCreate` with no search input #49
205
+ - add `resetSelectedValue` parameter #42
206
+ - fix `autoCreate` with no search input #49
119
207
 
120
208
  ## V13.0.0 (2023-07-20)
121
209
 
122
210
  ### Breaking Changes
123
211
 
124
- - minimum required support has been upgraded to Angular `16.1`.
212
+ - minimum required support has been upgraded to Angular `16.1`.
125
213
 
126
214
  ### Changes
127
215
 
128
- - rewrite `clickDetection`
129
- - fix template with `multiple`
130
- - refacto with `numberAttribute` & `booleanAttribute` (Angular `16.1`)
216
+ - rewrite `clickDetection`
217
+ - fix template with `multiple`
218
+ - refacto with `numberAttribute` & `booleanAttribute` (Angular `16.1`)
219
+
220
+ ---
131
221
 
132
222
  ## V12.1.0 (2023-07-05)
133
223
 
134
224
  ### Changes
135
225
 
136
- - improve `search` event (see `Select2ScrollEvent`)
137
- - add data on `Select2ScrollEvent`
226
+ - improve `search` event (see `Select2ScrollEvent`)
227
+ - add data on `Select2ScrollEvent`
138
228
 
139
229
  ## V12.0.0 (2023-06-07)
140
230
 
141
231
  ### Breaking Changes
142
232
 
143
- - minimum required support has been upgraded to Angular `16.0`.
144
- - update ngx-infinite-scroll to `16.0.0`.
233
+ - minimum required support has been upgraded to Angular `16.0`.
234
+ - update ngx-infinite-scroll to `16.0.0`.
145
235
 
146
236
  ## V11.1.0 (2023-04-15)
147
237
 
148
238
  ### Breaking Changes
149
239
 
150
- - By default the template is now used in the selection. To revert to previous behavior use `noLabelTemplate`.
151
- - Code removal for IE11 and Edge
240
+ - By default the template is now used in the selection. To revert to previous behavior use `noLabelTemplate`.
241
+ - Code removal for IE11 and Edge
152
242
 
153
243
  ### Changes
154
244
 
155
- - add `noLabelTemplate`: do not use the template in the selection, stay in text mode.
156
- - add `autoCreate`: gives the possibility to add elements not present in the list. #48
157
- - add CSS variables :
158
- - `--select2-single-height`
159
- - `--select2-multiple-height`
245
+ - add `noLabelTemplate`: do not use the template in the selection, stay in text mode.
246
+ - add `autoCreate`: gives the possibility to add elements not present in the list. #48
247
+ - add CSS variables :
248
+ - `--select2-single-height`
249
+ - `--select2-multiple-height`
160
250
 
161
251
  ## V11.0.0 (2023-04-06)
162
252
 
163
253
  ### Breaking Changes
164
254
 
165
- - minimum required support has been upgraded to Angular `15.0`.
166
- - update ngx-infinite-scroll to `15.0.0`.
255
+ - minimum required support has been upgraded to Angular `15.0`.
256
+ - update ngx-infinite-scroll to `15.0.0`.
167
257
 
168
258
  ### Changes
169
259
 
170
- - fix class `select2-container--focus`
171
- - add item keyboard remove (multiple)
260
+ - fix class `select2-container--focus`
261
+ - add item keyboard remove (multiple)
262
+
263
+ ---
172
264
 
173
265
  ## V10.0.0 (2022-07-27)
174
266
 
175
267
  ### Breaking Changes
176
268
 
177
- - minimum required support has been upgraded to Angular `14.0`.
178
- - update ngx-infinite-scroll to `14.0.0`.
269
+ - minimum required support has been upgraded to Angular `14.0`.
270
+ - update ngx-infinite-scroll to `14.0.0`.
179
271
 
180
272
  ## V9.0.0 (2022-03-10)
181
273
 
182
274
  ### Breaking Changes
183
275
 
184
- - minimum required support has been upgraded to Angular `13.2`.
185
- - update ngx-infinite-scroll to `13.0.2`.
276
+ - minimum required support has been upgraded to Angular `13.2`.
277
+ - update ngx-infinite-scroll to `13.0.2`.
186
278
 
187
279
  ## V8.1.0 (2022-02-18)
188
280
 
189
281
  ### Breaking Changes
190
282
 
191
- - CSS variable `--select2-font-style-color` renamed in `--select2-too-much-font-style`
283
+ - CSS variable `--select2-font-style-color` renamed in `--select2-too-much-font-style`
192
284
 
193
285
  ### Changes
194
286
 
195
- - add `maxResults` maximum results limit (`0` = no limit, by default : `0`).
196
- - add `maxResultsMessage` parameter, message when maximum results (by default : `'Too many results…'`)
197
- - add CSS variables:
198
- - `--select2-too-much-result-color`
199
- - `--select2-too-much-result-style`
287
+ - add `maxResults` maximum results limit (`0` = no limit, by default : `0`).
288
+ - add `maxResultsMessage` parameter, message when maximum results (by default : `'Too many results…'`)
289
+ - add CSS variables:
290
+ - `--select2-too-much-result-color`
291
+ - `--select2-too-much-result-style`
200
292
 
201
293
  ### Corrections
202
294
 
203
- - filtered data for group is now correct
295
+ - filtered data for group is now correct
204
296
 
205
297
  ## V8.0.6 (2022-01-04)
206
298
 
207
299
  ### Corrections
208
300
 
209
- - Remove `×` for disabled & readonly
210
- - Update data when new sets come in.
301
+ - Remove `×` for disabled & readonly
302
+ - Update data when new sets come in.
211
303
 
212
304
  ## V8.0.5 (2021-09-27)
213
305
 
214
306
  ### Corrections
215
307
 
216
- - Fix when `overlay` is `true` on start
308
+ - Fix when `overlay` is `true` on start
217
309
 
218
310
  ## V8.0.4 (2021-09-23)
219
311
 
220
312
  ### Changes
221
313
 
222
- - with `overlay` active, the value `auto` for `listPosition` is possible
314
+ - with `overlay` active, the value `auto` for `listPosition` is possible
223
315
 
224
316
  ### Corrections
225
317
 
226
- - Fix above position with overlay
318
+ - Fix above position with overlay
227
319
 
228
320
  ## V8.0.3 (2021-07-02)
229
321
 
230
322
  ### Corrections
231
323
 
232
- - add more controls for `resultContainer`
324
+ - add more controls for `resultContainer`
233
325
 
234
326
  ## V8.0.2 (2021-07-01)
235
327
 
236
328
  ### Corrections
237
329
 
238
- - fix `open` event with overlay
239
- - fix `ExpressionChangedAfterItHasBeenCheckedError`
330
+ - fix `open` event with overlay
331
+ - fix `ExpressionChangedAfterItHasBeenCheckedError`
240
332
 
241
333
  ## V8.0.1 (2021-07-01)
242
334
 
243
335
  ### Corrections
244
336
 
245
- - fix overlay size on reopen after resize
337
+ - fix overlay size on reopen after resize
246
338
 
247
339
  ## V8.0.0 (2021-06-30)
248
340
 
249
341
  ### Breaking Changes
250
342
 
251
- - minimum required support has been upgraded to Angular `10.0`.
252
- - remove parameters `material` and `noStyle`, use `styleMode`.
343
+ - minimum required support has been upgraded to Angular `10.0`.
344
+ - remove parameters `material` and `noStyle`, use `styleMode`.
253
345
 
254
346
  ### Changes
255
347
 
256
- - add `overlay` parameter with Angular CDK, to change the display method of the dropdown list to the root of the DOM. (See README).
257
- - add `noResultMessage` parameter, to display a message if there is no result.
258
- - add `styleMode` parameter, to choose an alternative predefined style of the component.
348
+ - add `overlay` parameter with Angular CDK, to change the display method of the dropdown list to the root of the DOM. (See README).
349
+ - add `noResultMessage` parameter, to display a message if there is no result.
350
+ - add `styleMode` parameter, to choose an alternative predefined style of the component.
259
351
 
260
352
  ## V7.3.1 (2021-04-24)
261
353
 
262
354
  ### Corrections
263
355
 
264
- - fix placeholder overflow (ellipsis)
356
+ - fix placeholder overflow (ellipsis)
265
357
 
266
358
  ## V7.3.0 (2021-04-23)
267
359
 
268
360
  ### Changes
269
361
 
270
- - add `ngx-infinite-scroll` support (See README)
271
- - add `(removedOption)` event, triggered when an option is removed from the list of selected options options list
362
+ - add `ngx-infinite-scroll` support (See README)
363
+ - add `(removedOption)` event, triggered when an option is removed from the list of selected options options list
272
364
 
273
365
  ### Corrections
274
366
 
275
- - remove a forgotten logger
367
+ - remove a forgotten logger
276
368
 
277
369
  ## V7.2.3 (2021-03-11)
278
370
 
279
371
  ### Corrections
280
372
 
281
- - fix crash when switching between multiple and non-multiple
373
+ - fix crash when switching between multiple and non-multiple
282
374
 
283
375
  ### Demo
284
376
 
285
- - add html generator
377
+ - add html generator
286
378
 
287
379
  ## V7.2.2 (2021-03-05)
288
380
 
289
381
  ### Corrections
290
382
 
291
- - hidden options are no longer selectable with keyboard
383
+ - hidden options are no longer selectable with keyboard
292
384
 
293
385
  ## V7.2.1 (2021-03-04)
294
386
 
295
387
  ### Changes
296
388
 
297
- - add a possibility to hide an option
298
- - add an argument `resettable` to display a reset button (in single mode)
389
+ - add a possibility to hide an option
390
+ - add an argument `resettable` to display a reset button (in single mode)
299
391
 
300
392
  ## V7.2.0 (2020-12-09)
301
393
 
302
394
  ### Changes
303
395
 
304
- - formating options & groups with template
396
+ - formating options & groups with template
305
397
 
306
398
  ### Corrections
307
399
 
308
- - crash when data is empty
400
+ - crash when data is empty
309
401
 
310
402
  ## V7.1.11 (2020-11-12)
311
403
 
312
404
  ### Corrections
313
405
 
314
- - support for Angular versions up to 11
406
+ - support for Angular versions up to 11
315
407
 
316
408
  ## V7.1.10 (2020-11-11)
317
409
 
318
410
  ### Corrections
319
411
 
320
- - also call markForCheck() on the change detector when the filtered values are set
321
- - support for Angular versions up to 10
412
+ - also call markForCheck() on the change detector when the filtered values are set
413
+ - support for Angular versions up to 10
322
414
 
323
415
  ## V7.1.9 (2020-11-02)
324
416
 
325
417
  ### Corrections
326
418
 
327
- - Change event is stopped for input
328
- - Fix CSS for outline
329
- - Fix infinite valueChange sometimes because of asynchronous test
419
+ - Change event is stopped for input
420
+ - Fix CSS for outline
421
+ - Fix infinite valueChange sometimes because of asynchronous test
330
422
 
331
423
  ## V7.1.8 (2020-10-26)
332
424
 
333
425
  ### Changes
334
426
 
335
- - change the return of these events:
336
- - `(open)`: `void` to `Select2`
337
- - `(close)`: `void` to `Select2`
338
- - `(focus)`: `void` to `Select2`
339
- - `(blur)`: `void` to `Select2`
340
- - `(search)`: `string` to `Select2SearchEvent`
427
+ - change the return of these events:
428
+ - `(open)`: `void` to `Select2`
429
+ - `(close)`: `void` to `Select2`
430
+ - `(focus)`: `void` to `Select2`
431
+ - `(blur)`: `void` to `Select2`
432
+ - `(search)`: `string` to `Select2SearchEvent`
341
433
 
342
434
  ### Corrections
343
435
 
344
- - Fix multiple events for `(update)` when value changes
436
+ - Fix multiple events for `(update)` when value changes
345
437
 
346
438
  ## V7.1.7 (2020-10-19)
347
439
 
348
440
  ### Corrections
349
441
 
350
- - Fix case with 0 in value
442
+ - Fix case with 0 in value
351
443
 
352
444
  ## V7.1.6 (2020-10-13)
353
445
 
354
446
  ### Changes
355
447
 
356
- - Added an `id` on the select options.
357
- - Allow to give a specific id to an option via `Select2Option` config.
448
+ - Added an `id` on the select options.
449
+ - Allow to give a specific id to an option via `Select2Option` config.
358
450
 
359
451
  ### Corrections
360
452
 
361
- - Remove the `undefined` class wrongly added to options when `classes` is not defined on `Select2Option`.
453
+ - Remove the `undefined` class wrongly added to options when `classes` is not defined on `Select2Option`.
362
454
 
363
455
  ## V7.1.5 (2020-10-06)
364
456
 
365
457
  ### Corrections
366
458
 
367
- - fix update of list when value is `null`/`undefined`/`empty`
459
+ - fix update of list when value is `null`/`undefined`/`empty`
368
460
 
369
461
  ## V7.1.4 (2020-09-18)
370
462
 
371
463
  ### Changes
372
464
 
373
- - add `limitSelection` attribute to limit multiple selection. (By default `0` for no limit)
465
+ - add `limitSelection` attribute to limit multiple selection. (By default `0` for no limit)
374
466
 
375
467
  ## V7.1.3 (2020-05-07)
376
468
 
377
469
  ### Breaking Changes
378
470
 
379
- - review the naming of all CSS variables and add new
380
- - no more predefined variables (it was impossible to overwrite them)
471
+ - review the naming of all CSS variables and add new
472
+ - no more predefined variables (it was impossible to overwrite them)
381
473
 
382
474
  ## V7.1.2 (2020-04-27)
383
475
 
384
476
  ### Changes
385
477
 
386
- - add event `(focus)` and `(blur)`
478
+ - add event `(focus)` and `(blur)`
387
479
 
388
480
  ### Corrections
389
481
 
390
- - fix the focused status which is not removed in some cases or called for the wrong reason
482
+ - fix the focused status which is not removed in some cases or called for the wrong reason
391
483
 
392
484
  ## V7.1.1 (2020-04-24)
393
485
 
394
486
  ### Changes
395
487
 
396
- - add event `(close)`
488
+ - add event `(close)`
397
489
 
398
490
  ### Corrections
399
491
 
400
- - fix dropdown position with hint
492
+ - fix dropdown position with hint
401
493
 
402
494
  ## V7.1.0 (2020-04-23)
403
495
 
404
496
  ### Breaking Changes
405
497
 
406
- - `(update)` : return object `Select2UpdateValue` change for `Select2UpdateEvent` object. Please, see the readme.
498
+ - `(update)` : return object `Select2UpdateValue` change for `Select2UpdateEvent` object. Please, see the readme.
407
499
 
408
500
  ### Changes
409
501
 
410
- - add CSS variables for colors (see the readme)
411
- - add new attributes : `listPosition`, `minCharForSearch`, `noStyle`
412
- - now, selection container use a flexbox layout (CSS symplification)
413
- - update the SearchBox status when the list change
502
+ - add CSS variables for colors (see the readme)
503
+ - add new attributes : `listPosition`, `minCharForSearch`, `noStyle`
504
+ - now, selection container use a flexbox layout (CSS symplification)
505
+ - update the SearchBox status when the list change
414
506
 
415
507
  ## V7.0.7 (2020-04-17)
416
508
 
417
509
  ### Changes
418
510
 
419
- - add a new `displaySearchStatus` attribute
420
- - edit `minCountForSearch` to make it dynamic and easier to use
511
+ - add a new `displaySearchStatus` attribute
512
+ - edit `minCountForSearch` to make it dynamic and easier to use
421
513
 
422
514
  ## V7.0.6 (2020-02-21)
423
515
 
424
516
  ### Corrections
425
517
 
426
- - fix dropdown when is close
518
+ - fix dropdown when is close
427
519
 
428
520
  ## V7.0.5 (2020-02-07)
429
521
 
430
522
  ### Corrections
431
523
 
432
- - fix `resultMaxHeight` (`@Output` instead of `@Input`)
524
+ - fix `resultMaxHeight` (`@Output` instead of `@Input`)
433
525
 
434
526
  ## V7.0.4 (2020-02-06)
435
527
 
436
528
  ### Changes
437
529
 
438
- - with label and required is true, add a red `*` after the label
439
- - add new @input parameters :
440
- - `hideSelectedItems` : for `multiple`, remove selected values (by default : `false`)
441
- - `resultMaxHeight` : change the height size of results (by default : `200px`);
530
+ - with label and required is true, add a red `*` after the label
531
+ - add new @input parameters :
532
+ - `hideSelectedItems` : for `multiple`, remove selected values (by default : `false`)
533
+ - `resultMaxHeight` : change the height size of results (by default : `200px`);
442
534
 
443
535
  ### Corrections
444
536
 
445
- - fix value update
446
- - fix CSS for the height of result when the panel is closed
537
+ - fix value update
538
+ - fix CSS for the height of result when the panel is closed
447
539
 
448
540
  ## V7.0.3 (2019-11-08)
449
541
 
450
542
  ### Changes
451
543
 
452
- - options label accept HTML content
544
+ - options label accept HTML content
453
545
 
454
546
  ## V7.0.2 (2019-08-09)
455
547
 
456
548
  ### Corrections
457
549
 
458
- - fix scroll when opening the select to go to the selected option(s)
459
- - fix arrowUp/arrowDown to be able to jump disabled options within the list
550
+ - fix scroll when opening the select to go to the selected option(s)
551
+ - fix arrowUp/arrowDown to be able to jump disabled options within the list
460
552
 
461
553
  ## V7.0.1 (2019-07-29)
462
554
 
463
555
  ### Corrections
464
556
 
465
- - fix spam issue on `filteredData` in some cases
466
- - refactoring the method to handle up/down arrows
557
+ - fix spam issue on `filteredData` in some cases
558
+ - refactoring the method to handle up/down arrows
467
559
 
468
560
  ## V7.0.0 (2018-12-05)
469
561
 
470
562
  ### Changes
471
563
 
472
- - update to Angular 7
473
- - add Label with `<select2-label>` tag
564
+ - update to Angular 7
565
+ - add Label with `<select2-label>` tag
474
566
 
475
567
  ### Corrections
476
568
 
477
- - ajust CSS
478
- - change the key detection
569
+ - ajust CSS
570
+ - change the key detection
479
571
 
480
572
  ## V6.0.3 (2018-10-29)
481
573
 
482
574
  ### Correction
483
575
 
484
- - fix formcontrol value update
576
+ - fix formcontrol value update
485
577
 
486
578
  ## V6.0.2 (2018-10-12)
487
579
 
488
580
  ### Correction
489
581
 
490
- - fix error when using FormControls
491
- - add new examples in the demo
582
+ - fix error when using FormControls
583
+ - add new examples in the demo
492
584
 
493
585
  ## V6.0.1 (2018-07-16)
494
586
 
495
587
  ### Correction
496
588
 
497
- - fix ExpressionChangedAfterItHasBeenCheckedError
589
+ - fix ExpressionChangedAfterItHasBeenCheckedError
498
590
 
499
591
  ## V6.0.0 (2018-07-10)
500
592
 
501
593
  ### Breaking changes
502
594
 
503
- - **not compatible anymore with Angular 5**
504
- - upgrade to Angular 6 using Angular CLI
505
- - change folders architecture to match the Angular CLI `ng new` and `ng generate library`
595
+ - **not compatible anymore with Angular 5**
596
+ - upgrade to Angular 6 using Angular CLI
597
+ - change folders architecture to match the Angular CLI `ng new` and `ng generate library`