I have used daterange component in my app. Now, i just want to do the weekly selection. Depending on the selected date the end date should be updated exactly for 7 days and vice versa. also, the user should only be able to select a week range no less/more

I have used daterange component in my app. Now, i just want to do the weekly selection. Depending on the selected date the end date should be updated exactly for 7 days and vice versa. also, the user should only be able to select a week range no less/more

welcome to the community

I'm not sure you can disable the end date of the date range picker component - and if you did disable the selection of an end date then you've effectively built a single date picker. Perhaps that would work ok for you instead of the date range?
e.g.

1 Like

Checkout the following app someone posted here some time ago: I have used it...
time.json (18.0 KB)

1 Like

Agreed with both of these solutions! I don't believe you can disable only the end date. Maybe this is another potential solution: