mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(alert): name is non-null
This commit is contained in:
@@ -300,7 +300,7 @@ export class Alert implements OverlayInterface {
|
||||
// return an object of all the values with the input name as the key
|
||||
const values: {[k: string]: string} = {};
|
||||
this.processedInputs.forEach(i => {
|
||||
values[i.name] = i.value || '';
|
||||
values[i.name!] = i.value || '';
|
||||
});
|
||||
return values;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user