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