+
+{/if}
diff --git a/src/lib/components/examples/bugs.md b/src/lib/components/examples/bugs.md
deleted file mode 100644
index 3720ddc..0000000
--- a/src/lib/components/examples/bugs.md
+++ /dev/null
@@ -1,8 +0,0 @@
-/src/lib/components/examples/Form.svelte:98:7 'type' attribute cannot be dynamic if input uses two-way binding
-/src/lib/components/examples/Form.svelte:98:7
-96 | {
+ console.log('Current validation state:', state.value);
+ }).start();
+
+ return service;
+}
\ No newline at end of file
diff --git a/src/lib/types/UserSchema.ts b/src/lib/types/UserSchema.ts
index 86af77b..b0a212f 100644
--- a/src/lib/types/UserSchema.ts
+++ b/src/lib/types/UserSchema.ts
@@ -29,7 +29,7 @@ const validationMessages = {
};
export const UserSchema = z.object({
- name: z.string().min(3, validationMessages.name.minLength).max(10, validationMessages.name.maxLength),
+ name: z.string().nonempty('Name is required.').min(3, validationMessages.name.minLength).max(10, validationMessages.name.maxLength),
email: z.string().email(validationMessages.email.isEmail),
about: z.string().max(500, validationMessages.about.maxLength),
age: z.number().min(18, validationMessages.age.min).max(120, validationMessages.age.max),
diff --git a/src/routes/form/+page.svelte b/src/routes/form/+page.svelte
new file mode 100644
index 0000000..c244e07
--- /dev/null
+++ b/src/routes/form/+page.svelte
@@ -0,0 +1,39 @@
+
+
+
+
diff --git a/src/routes/helloearth/+page.svelte b/src/routes/helloearth/+page.svelte
index b485ab0..eacbac0 100644
--- a/src/routes/helloearth/+page.svelte
+++ b/src/routes/helloearth/+page.svelte
@@ -6,7 +6,7 @@
store: {
title: 'Hello Earth',
description:
- 'Here you can find all the references, how to use the store and mapping logic of store to store and data to store maps',
+ 'how to use the store and mapping logic of store to store and data to store maps',
helloMapMe: 'this is going to be mapped'
},
layout: {