Merge branch 'v4.2.0-form' of https://github.com/primefaces/primevue into v4.2.0-form

pull/6632/head
Mert Sincan 2024-10-23 14:42:59 +01:00
commit 6b491f3804
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ export default {
}, },
resolver: zodResolver( resolver: zodResolver(
z.object({ z.object({
slider: z.number().gt(0, { message: 'Must be greater than 0.' }).lt(10, { message: 'Must be less than 50.' }) slider: z.number().gt(25, { message: 'Must be greater than 25.' }).lt(75, { message: 'Must be less than 75.' })
}) })
), ),
code: { code: {
@ -64,7 +64,7 @@ export default {
}, },
resolver: zodResolver( resolver: zodResolver(
z.object({ z.object({
slider: z.number().gt(0, { message: 'Must be greater than 0.' }).lt(10, { message: 'Must be less than 50.' }) slider: z.number().gt(25, { message: 'Must be greater than 25.' }).lt(75, { message: 'Must be less than 75.' })
}) })
), ),
} }
@ -105,7 +105,7 @@ const initialValues = ref({
}); });
const resolver = ref(zodResolver( const resolver = ref(zodResolver(
z.object({ z.object({
slider: z.number().gt(0, { message: 'Must be greater than 0.' }).lt(10, { message: 'Must be less than 50.' }) slider: z.number().gt(25, { message: 'Must be greater than 25.' }).lt(75, { message: 'Must be less than 75.' })
}) })
)); ));