Skip to content

Commit

Permalink
fix(alert): set input value
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartington committed Mar 12, 2018
1 parent 12c78bc commit 6e2a9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/alert/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ export class Alert implements OverlayInterface {
rbButton.handler(rbButton);
}
}

private cbClick(inputIndex: number) {
this.inputs = this.inputs.map((input, index) => {
if (inputIndex === index) {
Expand Down Expand Up @@ -285,6 +284,7 @@ export class Alert implements OverlayInterface {
type={i.type}
min={i.min}
max={i.max}
onInput={e => i.value = (e.target as any).value}
id={i.id}
disabled={i.disabled}
tabIndex={0}
Expand Down

0 comments on commit 6e2a9c9

Please sign in to comment.