Skip to content

Combining ShadCN Form components with TanStack Form #2

Open
@t-ce

Description

@t-ce

Thank you for your work.

I've been trying in vain to find an example of a component that combines ShadCN Form components:

import { Form, FormControl, FormField, FormItem, FormLabel } from '@/components/ui/form';

with TanStack Form:

import { useForm } from '@tanstack/react-form';

Your example uses TanStack Form without ShadCN Form components.
The example on ShadCN uses react-hook-form instead of TanStack Form.

Do you know if there is a principle making it less interesting or feasible to combine with TanStack Form? Or perhaps you have come across such an example?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions