aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/components/fields/DateInput.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/anastasis-webui/src/components/fields/DateInput.tsx')
-rw-r--r--packages/anastasis-webui/src/components/fields/DateInput.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/anastasis-webui/src/components/fields/DateInput.tsx b/packages/anastasis-webui/src/components/fields/DateInput.tsx
index c406b85d1..3148c953f 100644
--- a/packages/anastasis-webui/src/components/fields/DateInput.tsx
+++ b/packages/anastasis-webui/src/components/fields/DateInput.tsx
@@ -41,7 +41,7 @@ export function DateInput(props: DateInputProps): VNode {
type="text"
class={showError ? 'input is-danger' : 'input'}
value={value}
- onChange={(e) => {
+ onInput={(e) => {
const text = e.currentTarget.value
setDirty(true)
props.bind[1](text);