Skip to content

Commit f4a583a

Browse files
alkavats1crisbeto
authored andcommitted
refactor(material/select): removed the redundant initializer in select file (#27555)
(cherry picked from commit 7c88bce)
1 parent fe339ee commit f4a583a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/select/select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ export class MatSelect
12971297

12981298
/** Emits change event to set the model value. */
12991299
private _propagateChanges(fallbackValue?: any): void {
1300-
let valueToEmit: any = null;
1300+
let valueToEmit: any;
13011301

13021302
if (this.multiple) {
13031303
valueToEmit = (this.selected as MatOption[]).map(option => option.value);

0 commit comments

Comments
 (0)