pull/6632/head
Mert Sincan 2024-10-23 05:11:19 +01:00
parent ed343909db
commit 4699766152
3 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@ import DynamicFormSubmit from './dynamic/DynamicFormSubmit.vue';
export default {
data() {
return {
userNameSchema: z.string().min(1, { message: 'Username is required' }),
userNameSchema: z.string().min(1, { message: 'Username is required.' }),
passwordSchema: z
.string()
.min(3, { message: 'Password must be at least 3 characters long.' })
@ -66,7 +66,7 @@ export default {
label: 'Username',
defaultValue: 'PrimeVue',
fluid: true,
schema: z.string().min(1, { message: 'Username is required' })
schema: z.string().min(1, { message: 'Username is required.' })
},
password: {
groupId: 'passId_2',
@ -159,7 +159,7 @@ import DynamicFormSubmit from './dynamic/DynamicFormSubmit.vue';
export default {
data() {
return {
userNameSchema: z.string().min(1, { message: 'Username is required' }),
userNameSchema: z.string().min(1, { message: 'Username is required.' }),
passwordSchema: z
.string()
.min(3, { message: 'Password must be at least 3 characters long.' })
@ -182,7 +182,7 @@ export default {
label: 'Username',
defaultValue: 'PrimeVue',
fluid: true,
schema: z.string().min(1, { message: 'Username is required' })
schema: z.string().min(1, { message: 'Username is required.' })
},
password: {
groupId: 'passId_2',

View File

@ -28,7 +28,7 @@ export default {
},
resolver: zodResolver(
z.object({
username: z.string().min(1, { message: 'Username is required' })
username: z.string().min(1, { message: 'Username is required.' })
})
),
code: {
@ -64,7 +64,7 @@ export default {
},
resolver: zodResolver(
z.object({
username: z.string().min(1, { message: 'Username is required' })
username: z.string().min(1, { message: 'Username is required.' })
})
)
};

View File

@ -35,7 +35,7 @@ export default {
},
resolver: zodResolver(
z.object({
username: z.string().min(1, { message: 'Username is required' }),
username: z.string().min(1, { message: 'Username is required.' }),
password: z
.string()
.min(3, { message: 'Password must be at least 3 characters long.' })
@ -101,7 +101,7 @@ export default {
},
resolver: zodResolver(
z.object({
username: z.string().min(1, { message: 'Username is required' }),
username: z.string().min(1, { message: 'Username is required.' }),
password: z
.string()
.min(3, { message: 'Password must be at least 3 characters long.' })