aboveyunhai / chakra-dayzed-datepicker

Chakra UI + Dayzed = datepicker
https://aboveyunhai.github.io/chakra-dayzed-datepicker/
MIT License
222 stars 46 forks source link

Add support for forwarding refs to DatePicker component #68

Open asayyexgq opened 7 months ago

asayyexgq commented 7 months ago

Currently, there's no provision for passing a ref to the DatePicker component, limiting our ability to interact with it programmatically. It would be valuable to introduce a ref prop or a method (e.g., getDatePickerRef()) that allows users to forward a ref to the DatePicker component. This enhancement would facilitate tasks like focusing the DatePicker or retrieving its current value.