Skip to content

Illustrates problem when conform-to field opened in dialog does not sync with the form

Notifications You must be signed in to change notification settings

wiz256/conform-to-shadcdn-field-in-dialog-problem

Repository files navigation

Shadcn UI Integration

Shadcn UI Shadcn UI is a comprehensive component library built with React. It provides a wide range of pre-built components that can be easily integrated into your projects. The library is designed to be simple to use, allowing you to add components to your project either by copy/pasting them directly or using the provided CLI.

Installation

To install a component, you can simply copy and paste the component code into your project. Alternatively, you can use the Shadcn UI CLI to automatically add components to your project. By default, the CLI will place the components into the src/components/ui folder.

Conform Forms integration

This example includes a set of components in a separate folder src/components/conform that extend the shadcn components. By using these components, you can quickly and easily build complex forms with full validation and error handling.

Additional infos

This example we leverage Vite and Tailwind CSS

Components

  • Checkbox
  • Checkbox group
  • Combobox
  • Date picker
  • Radio group
  • Select
  • Slider
  • Switch
  • Textarea
  • Toggle group

Demo

Try it out on Codesandbox.

About

Illustrates problem when conform-to field opened in dialog does not sync with the form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published