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 Dec 9, 2016
1 parent 0450a4e commit cc0578a
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 @@ -153,7 +153,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 cc0578a

Please sign in to comment.