You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,26 @@ All notable changes for each version of this project will be documented in this
14
14
-**Breaking Change**`igxExcelStyleMovingTemplate` directive is renamed to `igxExcelStyleMoving`.
15
15
-**Breaking Change**`igxExcelStyleHidingTemplate` directive is renamed to `igxExcelStyleHiding`.
16
16
-**Breaking Change**`igxExcelStylePinningTemplate` directive is renamed to `igxExcelStylePinning`.
17
+
-`IgxCombo`
18
+
- Combo selection is now consistent when `valueKey` is defined. When `valueKey` is specified, selection is based on the value keys of the items. For example:
// Selection is done only by valueKey property value
30
+
this.combo.selectItems([0, 1]);
31
+
}
32
+
}
33
+
```
34
+
- **Breaking Change** When using `[valueKey]`, combo methods, events and outputs **cannot** be handled with *data item references*.
35
+
- For more information, visit the component's [readme](https://github.com/IgniteUI/igniteui-angular/tree/master/projects/igniteui-angular/src/lib/combo/README.md)
36
+
17
37
## 8.1.4
18
38
- `IgxDialog` new @Input `positionSettings` is now available. It provides the ability to get/set both position and animation settings of the Dialog component.
// Selection is done only by valueKey property value
72
+
this.combo.selectItems([0, 1]);
73
+
}
74
+
}
75
+
```
76
+
77
+
- When **no**`valueKey` is specified, selection is handled by **equality (===)**. To select items by object reference, the `valueKey` property should be removed:
public data: {text:string, id:number, ... }[] =...;
100
+
...
101
+
public values:number[] =...;
102
+
}
62
103
```
63
104
105
+
When the `data` input is made up of complex types (i.e. objects), it is advised to bind the selected data via `valueKey` (as in the above code snippet). Specify a property that is unique for each data entry and pass an array with values for those properties, corresponding to the items you want selected.
106
+
107
+
If you want to bind the selected data by reference, **do not** specify a `valueKey`:
0 commit comments