From 215833927b6d3abe344bd35ad20ab93ed3de089e Mon Sep 17 00:00:00 2001 From: Adrian Rudnik Date: Sun, 26 Nov 2023 00:17:47 +0100 Subject: [PATCH] Fixed type errors on *Input components --- frontend/src/components/structure/form/NumberInput.vue | 2 +- frontend/src/components/structure/form/PasswordInput.vue | 2 +- frontend/src/components/structure/form/TextInput.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/structure/form/NumberInput.vue b/frontend/src/components/structure/form/NumberInput.vue index a354b6d..94a0424 100644 --- a/frontend/src/components/structure/form/NumberInput.vue +++ b/frontend/src/components/structure/form/NumberInput.vue @@ -30,7 +30,7 @@ const props = defineProps<{ const id = createIdFrom(props.name) -const { errorMessage, value } = useField(toRef(props, 'name')) +const { errorMessage, value } = useField(toRef(props, 'name')) defineExpose({ errorMessage diff --git a/frontend/src/components/structure/form/PasswordInput.vue b/frontend/src/components/structure/form/PasswordInput.vue index 2410a2c..b9c4761 100644 --- a/frontend/src/components/structure/form/PasswordInput.vue +++ b/frontend/src/components/structure/form/PasswordInput.vue @@ -40,7 +40,7 @@ const props = withDefaults( const id = createIdFrom(props.name) -const { errorMessage, value } = useField(toRef(props, 'name')) +const { errorMessage, value } = useField(toRef(props, 'name')) defineExpose({ errorMessage diff --git a/frontend/src/components/structure/form/TextInput.vue b/frontend/src/components/structure/form/TextInput.vue index 5898ec9..85a77fb 100644 --- a/frontend/src/components/structure/form/TextInput.vue +++ b/frontend/src/components/structure/form/TextInput.vue @@ -30,7 +30,7 @@ const props = defineProps<{ const id = createIdFrom(props.name) -const { errorMessage, value } = useField(toRef(props, 'name')) +const { errorMessage, value } = useField(toRef(props, 'name')) defineExpose({ errorMessage