Skip to content

Commit

Permalink
fix(DatePicker): remove condition to update placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
epr3 committed Feb 21, 2025
1 parent e374e1a commit 7727b0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/radix-vue/src/DatePicker/DatePickerRoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ provideDatePickerRootContext({
}
},
onPlaceholderChange(date: DateValue) {
if (date.compare(placeholder.value) === 0)
placeholder.value = date.copy()
placeholder.value = date.copy()
},
})
</script>
Expand Down

0 comments on commit 7727b0e

Please sign in to comment.