summaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/components/fields/EmailInput.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/anastasis-webui/src/components/fields/EmailInput.tsx')
-rw-r--r--packages/anastasis-webui/src/components/fields/EmailInput.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/anastasis-webui/src/components/fields/EmailInput.tsx b/packages/anastasis-webui/src/components/fields/EmailInput.tsx
index e0fca0f46..e21418fea 100644
--- a/packages/anastasis-webui/src/components/fields/EmailInput.tsx
+++ b/packages/anastasis-webui/src/components/fields/EmailInput.tsx
@@ -34,7 +34,7 @@ export function EmailInput(props: TextInputProps): VNode {
placeholder={props.placeholder}
type="email"
class={showError ? 'input is-danger' : 'input'}
- onChange={(e) => {setDirty(true); props.bind[1]((e.target as HTMLInputElement).value)}}
+ onInput={(e) => {setDirty(true); props.bind[1]((e.target as HTMLInputElement).value)}}
ref={inputRef}
style={{ display: "block" }} />
</div>