diff --git a/apps/showcase/doc/slider/FormsDoc.vue b/apps/showcase/doc/slider/FormsDoc.vue index a1e769d4e..452d6002b 100644 --- a/apps/showcase/doc/slider/FormsDoc.vue +++ b/apps/showcase/doc/slider/FormsDoc.vue @@ -22,7 +22,7 @@ export default { data() { return { initialValues: { - slider: null + slider: 0 }, resolver: zodResolver( z.object({ @@ -60,7 +60,7 @@ export default { data() { return { initialValues: { - slider: null + slider: 0 }, resolver: zodResolver( z.object({ @@ -101,7 +101,7 @@ import { z } from 'zod'; const toast = useToast(); const initialValues = ref({ - slider: null + slider: 0 }); const resolver = ref(zodResolver( z.object({ diff --git a/packages/primevue/src/select/Select.vue b/packages/primevue/src/select/Select.vue index a0b7b3c90..4f7366e18 100755 --- a/packages/primevue/src/select/Select.vue +++ b/packages/primevue/src/select/Select.vue @@ -355,7 +355,7 @@ export default { this.focusedOptionIndex = -1; this.searchValue = ''; this.$emit('blur', event); - this.formField.onBlur?.(); + this.formField.onBlur?.(event); }, onKeyDown(event) { if (this.disabled || isAndroid()) { diff --git a/packages/primevue/src/slider/BaseSlider.vue b/packages/primevue/src/slider/BaseSlider.vue index 4f8f6bca3..c67abd32f 100644 --- a/packages/primevue/src/slider/BaseSlider.vue +++ b/packages/primevue/src/slider/BaseSlider.vue @@ -1,12 +1,11 @@