Update Slider form demo

pull/6632/head
Mert Sincan 2024-10-23 13:10:06 +01:00
parent 304c26b078
commit 95e619a5b9
1 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ export default {
data() { data() {
return { return {
initialValues: { initialValues: {
slider: null slider: 0
}, },
resolver: zodResolver( resolver: zodResolver(
z.object({ z.object({
@ -60,7 +60,7 @@ export default {
data() { data() {
return { return {
initialValues: { initialValues: {
slider: null slider: 0
}, },
resolver: zodResolver( resolver: zodResolver(
z.object({ z.object({
@ -101,7 +101,7 @@ import { z } from 'zod';
const toast = useToast(); const toast = useToast();
const initialValues = ref({ const initialValues = ref({
slider: null slider: 0
}); });
const resolver = ref(zodResolver( const resolver = ref(zodResolver(
z.object({ z.object({