Skip to content

Commit f36e3c5

Browse files
Merge pull request #149 from dxc-technology/jcheng-selectMultple
fixing multiple select example
2 parents 46132bc + 347c400 commit f36e3c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

projects/dxc-ngx-cdk-site/src/app/components/examples/select/select-multiple/select-multiple.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Component } from '@angular/core';
77
})
88
export class SelectMultipleComponent {
99

10-
multipleSelected = '';
10+
multipleSelected = [''];
1111
optionsWithoutIcon = [
1212
{
1313
value: "1",
@@ -26,7 +26,7 @@ export class SelectMultipleComponent {
2626
constructor() {}
2727

2828
onChange(event) {
29-
console.log(event);
29+
this.multipleSelected = event;
3030
}
3131

3232
}

projects/dxc-ngx-cdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"generate-lib-win": "npm run build-lib && npm run post-build-lib-win && npm run package",
1717
"generate-lib-prod-win": "npm run build-lib-prod && npm run post-build-lib-win && npm run package",
1818
"test": "jest --config ./jest.lib.config.js",
19-
"build-lib:watch": "ng build --watch"
19+
"build-lib:watch": "ng build dxc-ngx-cdk --watch"
2020
},
2121
"author": {
2222
"name": "DXC Technology",

0 commit comments

Comments
 (0)