Skip to content

Commit

Permalink
chore: fix Vue examples
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Jan 11, 2025
1 parent de40ebe commit 34faf4c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 20 deletions.
3 changes: 0 additions & 3 deletions examples/vue/simple/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ async function onChangeFirstName({ value }: { value: string }) {
"
>
<div>
<!-- Ignore errors in form.Field temporary due to a bug in Vue:-->
<!-- https://github.com/vuejs/language-tools/issues/3782 -->
<!-- @vue-ignore -->
<form.Field
name="firstName"
:validators="{
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/simple/src/FieldInfo.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import { FieldApi } from '@tanstack/vue-form'
import { AnyFieldApi } from '@tanstack/vue-form'
const props = defineProps<{
state: FieldApi<any, any, any, any>['state']
state: AnyFieldApi['state']
}>()
</script>

Expand Down
3 changes: 0 additions & 3 deletions examples/vue/valibot/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ const onChangeFirstName = v.pipeAsync(
"
>
<div>
<!-- Ignore errors in form.Field temporary due to a bug in Vue:-->
<!-- https://github.com/vuejs/language-tools/issues/3782 -->
<!-- @vue-ignore -->
<form.Field
name="firstName"
:validators="{
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/valibot/src/FieldInfo.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import { FieldApi } from '@tanstack/vue-form'
import { AnyFieldApi } from '@tanstack/vue-form'
const props = defineProps<{
state: FieldApi<any, any, any, any>['state']
state: AnyFieldApi['state']
}>()
</script>

Expand Down
3 changes: 0 additions & 3 deletions examples/vue/yup/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ const onChangeFirstName = yup
"
>
<div>
<!-- Ignore errors in form.Field temporary due to a bug in Vue:-->
<!-- https://github.com/vuejs/language-tools/issues/3782 -->
<!-- @vue-ignore -->
<form.Field
name="firstName"
:validators="{
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/yup/src/FieldInfo.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import { FieldApi } from '@tanstack/vue-form'
import { AnyFieldApi } from '@tanstack/vue-form'
const props = defineProps<{
state: FieldApi<any, any, any, any>['state']
state: AnyFieldApi['state']
}>()
</script>

Expand Down
3 changes: 0 additions & 3 deletions examples/vue/zod/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ const onChangeFirstName = z.string().refine(
"
>
<div>
<!-- Ignore errors in form.Field temporary due to a bug in Vue:-->
<!-- https://github.com/vuejs/language-tools/issues/3782 -->
<!-- @vue-ignore -->
<form.Field
name="firstName"
:validators="{
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/zod/src/FieldInfo.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import { FieldApi } from '@tanstack/vue-form'
import { AnyFieldApi } from '@tanstack/vue-form'
const props = defineProps<{
state: FieldApi<any, any, any, any>['state']
state: AnyFieldApi['state']
}>()
</script>

Expand Down

0 comments on commit 34faf4c

Please sign in to comment.