diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 19a64516..85383e9a 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -1067,6 +1067,13 @@ export const Index = { component: () => import("../src/lib/registry/default/example/TagsInputDemo.vue").then((m) => m.default), files: ["../src/lib/registry/default/example/TagsInputDemo.vue"], }, + "TagsInputFormDemo": { + name: "TagsInputFormDemo", + type: "components:example", + registryDependencies: ["tags-input","button","form","toast"], + component: () => import("../src/lib/registry/default/example/TagsInputFormDemo.vue").then((m) => m.default), + files: ["../src/lib/registry/default/example/TagsInputFormDemo.vue"], + }, "TextareaDemo": { name: "TextareaDemo", type: "components:example", @@ -2545,6 +2552,13 @@ export const Index = { component: () => import("../src/lib/registry/new-york/example/TagsInputDemo.vue").then((m) => m.default), files: ["../src/lib/registry/new-york/example/TagsInputDemo.vue"], }, + "TagsInputFormDemo": { + name: "TagsInputFormDemo", + type: "components:example", + registryDependencies: ["tags-input","button","form","toast"], + component: () => import("../src/lib/registry/new-york/example/TagsInputFormDemo.vue").then((m) => m.default), + files: ["../src/lib/registry/new-york/example/TagsInputFormDemo.vue"], + }, "TextareaDemo": { name: "TextareaDemo", type: "components:example", diff --git a/apps/www/src/content/docs/components/tags-input.md b/apps/www/src/content/docs/components/tags-input.md index 97071831..f5d7468c 100644 --- a/apps/www/src/content/docs/components/tags-input.md +++ b/apps/www/src/content/docs/components/tags-input.md @@ -18,3 +18,7 @@ npx shadcn-vue@latest add tags-input ### Tags with Combobox + +### Form + + diff --git a/apps/www/src/lib/registry/default/example/TagsInputFormDemo.vue b/apps/www/src/lib/registry/default/example/TagsInputFormDemo.vue new file mode 100644 index 00000000..88766242 --- /dev/null +++ b/apps/www/src/lib/registry/default/example/TagsInputFormDemo.vue @@ -0,0 +1,62 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/example/TagsInputFormDemo.vue b/apps/www/src/lib/registry/new-york/example/TagsInputFormDemo.vue new file mode 100644 index 00000000..3d894e5d --- /dev/null +++ b/apps/www/src/lib/registry/new-york/example/TagsInputFormDemo.vue @@ -0,0 +1,62 @@ + + +