Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoForm for UI Worker Template #19

Closed
HuakunShen opened this issue Nov 8, 2024 · 1 comment
Closed

AutoForm for UI Worker Template #19

HuakunShen opened this issue Nov 8, 2024 · 1 comment

Comments

@HuakunShen
Copy link
Member

HuakunShen commented Nov 8, 2024

shadcn-vue's AutoForm turns a zod schema into rendered form.
https://www.shadcn-vue.com/docs/components/auto-form.html

shadcn-svelte doesn't support this, I will need to implement myself.

Currently text, number, date can be supported with a component multiplexer. Input is Kunkun's FormSchema.
I want to support nested form and array, and valibot schema

@HuakunShen HuakunShen changed the title AutoForm AutoForm for UI Worker Template Nov 8, 2024
@HuakunShen
Copy link
Member Author

This is already implemented, not as good as AutoForm from shadcn vue though. I will come back to this later when I got time.

Closed for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant