From 6e2a9c936de3231e149ebd9516b4036ce2149503 Mon Sep 17 00:00:00 2001 From: mhartington Date: Mon, 12 Mar 2018 12:51:07 -0400 Subject: [PATCH] fix(alert): set input value --- packages/core/src/components/alert/alert.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/alert/alert.tsx b/packages/core/src/components/alert/alert.tsx index d0b9dc3b99..f7464722ef 100644 --- a/packages/core/src/components/alert/alert.tsx +++ b/packages/core/src/components/alert/alert.tsx @@ -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) { @@ -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}