Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a "top-area" or "top-extra" slot for custom content #806

Closed
NicoHof opened this issue Apr 3, 2024 · 0 comments
Closed

Provide a "top-area" or "top-extra" slot for custom content #806

NicoHof opened this issue Apr 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@NicoHof
Copy link

NicoHof commented Apr 3, 2024

There are extra slots for left and right sidebar
https://vue3datepicker.com/slots/content/#left-sidebar
https://vue3datepicker.com/slots/content/#right-sidebar
And also some oportunity to add extra content to the action area https://vue3datepicker.com/slots/content/#action-extra

We really like your vue3 datepicker with all its options to customize!
The only thing missing right now is a "top-area" or "top-extra" slot for custom content. Or did I just not find it?

We would need this to display some informational text to our users in some cases (date range limitations, etc.)

Describe the solution you'd like

  • a custom slot without padding on the very top of the picker
    Bildschirmfoto vom 2024-04-03 15-04-57

Would love to see this feature.

Describe alternatives you've considered
The only way right now could be to use the "month-year" slot. (https://vue3datepicker.com/slots/components/#month-year)
But I would like to not touch this slot to keep the defaults and just add some custom content above this area.

Additional context
I saw this issue: #790
Ofc. left and right sidebar should be left and right and my feature request should resolve in a new slot.

@NicoHof NicoHof added awaiting triage The issue is not reviewed by the maintainers enhancement New feature or request labels Apr 3, 2024
@Jasenkoo Jasenkoo removed the awaiting triage The issue is not reviewed by the maintainers label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants