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