Skip to content

Commit 2268346

Browse files
committed
fix(alert): name is non-null
1 parent 802df8a commit 2268346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/alert/alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export class Alert implements OverlayInterface {
300300
// return an object of all the values with the input name as the key
301301
const values: {[k: string]: string} = {};
302302
this.processedInputs.forEach(i => {
303-
values[i.name] = i.value || '';
303+
values[i.name!] = i.value || '';
304304
});
305305
return values;
306306
}

0 commit comments

Comments
 (0)