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

Can I restrict the start and end date of a view #141

Open
ukdesignservices opened this issue Jun 4, 2023 · 4 comments
Open

Can I restrict the start and end date of a view #141

ukdesignservices opened this issue Jun 4, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@ukdesignservices
Copy link

Is it possible to set a fixed range for a view, for example between Jun 20th and August 1st and disable the month navigation outside this range?
Many thanks

@vkurko
Copy link
Owner

vkurko commented Jun 5, 2023

I think you need a setting similar to validRange, which is not implemented in the Event Calendar. I will leave this ticket open until it is implemented. Unfortunately, I can't give an approximate date.

@vkurko vkurko added the enhancement New feature or request label Jun 5, 2023
@izu12ki
Copy link

izu12ki commented Feb 9, 2024

Sorry for shitposting.
I really wish the validRange to be implemented.

More specifically, I want the normal user to be able to choose only a specific time range but paid users can choose more broader time range.

Are there any ways to do this other than setting non-existent events for normal users so that they cannot select those time ranges?

@vkurko
Copy link
Owner

vkurko commented Feb 9, 2024

I really wish the validRange to be implemented.

It seems to me that you need something different, because validRange would limit the navigation to days, but will not affect the displayed time within a single day.

@izu12ki
Copy link

izu12ki commented Feb 9, 2024

Sorry, you're right.
It seems what I'm trying to do should be done with something else but not with a calendar.

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

3 participants