You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Id like to add additional buttons to the calendar component. For example a next month, next quarter etc, and clear button. here is a quick example from a dribble post:
currently i am having trouble updating and accessing the selected prop of the dayPicker, at least the way its configured by shadcn.
i tried making a local state within the calendar but then as expected this causes syncronization issues. other date pickers seem to have onTodayButtonClick and other actions, but these dont seem to be present with react-day-picker.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Id like to add additional buttons to the calendar component. For example a next month, next quarter etc, and clear button. here is a quick example from a dribble post:
currently i am having trouble updating and accessing the selected prop of the dayPicker, at least the way its configured by shadcn.
i tried making a local state within the calendar but then as expected this causes syncronization issues. other date pickers seem to have onTodayButtonClick and other actions, but these dont seem to be present with react-day-picker.
has anyone attempted this?
Beta Was this translation helpful? Give feedback.
All reactions