Skip to content

Commit

Permalink
fix(DatePicker): placeholder not reacting when clicking prev button
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Mar 8, 2024
1 parent 311c400 commit 1cc4cd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/radix-vue/src/DatePicker/DatePickerRoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const defaultDate = getDefaultDate({
const placeholder = useVModel(props, 'placeholder', emits, {
defaultValue: props.defaultPlaceholder ?? defaultDate.copy(),
passive: (props.placeholder === undefined) as false,
}) as Ref<DateValue>
const open = useVModel(props, 'open', emits, {
Expand Down

0 comments on commit 1cc4cd5

Please sign in to comment.