vue-datepicker icon indicating copy to clipboard operation
vue-datepicker copied to clipboard

Expose Date picker component to be used standalone

Open tratteo opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. I want to create a responsive DatePicker. Currently the component uses a floating dialog to display the calendar. I want to open a bottom sheet when the screen is small (mobile). Currently I do not think I have access to components used to create the calendar in the popup dialog.

Describe the solution you'd like I would like to have the possibility to access the Calendar component so that I can decide whether to display it in the default popup or in a custom modal sheet. As an example, this package exposes the VDatePicker component that has no popup and is just a component that renders a calendar and allows selection.

Additional context To sum up, currently the DatePicker component provided takes care of opening the default popup to allow selection, but we do not have access to the component rendered inside this popup to use it standalone.

tratteo avatar Sep 22 '24 18:09 tratteo