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

Add slot(s) for preset range elements #140

Closed
rvmourik opened this issue Sep 13, 2022 · 1 comment
Closed

Add slot(s) for preset range elements #140

rvmourik opened this issue Sep 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@rvmourik
Copy link

Describe the solution you'd like
The datepicker is very dynamic with all the available slots, imho there is one (or two) missing. There is no possibility to use a slot for the dp__preset_ranges container. If this would be made available it is possible for example to add an explanatory text above the available ranges.

In addition (I do not need it at the moment) a slot for the dp_preset_range it self would also be a welcome addition I think.

Describe alternatives you've considered
I've looked through the code for another solution, but besides adding a ::before hack which is not future proof (for example in combination with multilingual strings)

Additional context
image

@rvmourik rvmourik added the enhancement New feature or request label Sep 13, 2022
@rvmourik
Copy link
Author

rvmourik commented Oct 5, 2022

Thanks @Jasenkoo for implementing this.

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

1 participant