Update Slider form demo
parent
304c26b078
commit
95e619a5b9
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue