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 possibility to override default presets #36

Open
HJK181 opened this issue Nov 30, 2022 · 0 comments
Open

Add possibility to override default presets #36

HJK181 opened this issue Nov 30, 2022 · 0 comments

Comments

@HJK181
Copy link

HJK181 commented Nov 30, 2022

vcf-date-range-picker provides a slot for the presets but is missing the possibility to replace the defaults from vcf-date-range-picker-overlay-content. It would be nice if we could hide single predefined buttons or all at once. This way one could also hide the todayButton if maxis set to yesterday. Currently, the today button will be shown disabled disabled="[[!_isTodayAllowed(minDate, maxDate)]]" which is some wasted space as it will in our use case never be possible to click that button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant