Skip to content

Commit

Permalink
Fixed type errors on *Input components
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianrudnik committed Nov 25, 2023
1 parent ec116b9 commit 2158339
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/structure/form/NumberInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const props = defineProps<{
const id = createIdFrom(props.name)
const { errorMessage, value } = useField(toRef(props, 'name'))
const { errorMessage, value } = useField<number>(toRef(props, 'name'))
defineExpose({
errorMessage
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/structure/form/PasswordInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const props = withDefaults(
const id = createIdFrom(props.name)
const { errorMessage, value } = useField(toRef(props, 'name'))
const { errorMessage, value } = useField<string>(toRef(props, 'name'))
defineExpose({
errorMessage
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/structure/form/TextInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const props = defineProps<{
const id = createIdFrom(props.name)
const { errorMessage, value } = useField(toRef(props, 'name'))
const { errorMessage, value } = useField<string>(toRef(props, 'name'))
defineExpose({
errorMessage
Expand Down

0 comments on commit 2158339

Please sign in to comment.