Skip to content

Commit

Permalink
fix(alert): input missing id attribute from input options
Browse files Browse the repository at this point in the history
fixes #9457
  • Loading branch information
manucorporat committed Jan 18, 2017
1 parent e770a9a commit 6da9eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/alert/alert-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class AlertCmp {
label: input.label,
checked: !!input.checked,
disabled: !!input.disabled,
id: `alert-input-${this.id}-${index}`,
id: isPresent(input.id) ? input.id : `alert-input-${this.id}-${index}`,
handler: isPresent(input.handler) ? input.handler : null,
};
});
Expand Down

0 comments on commit 6da9eb6

Please sign in to comment.