Siva - Restrict past date selection in event search calendar#4338
Siva - Restrict past date selection in event search calendar#4338one-community merged 15 commits intodevelopmentfrom
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…date-search-issue
|
|
…, fix duplicate CSS selector
…s and CPDashboard.jsx, keep module.css pattern and min date fix
…s and CPDashboard.jsx
…s and CPDashboard.jsx
Hi @Anusha-Gali Anusha, Thanks for pointing it out. I’ve fixed the date logic so today’s date is now selectable. |
- Add minDate={new Date()} to CommunityCalendar ReactCalendar to disable past date selection
- Add min attribute (today) to CPDashboard date filter input; wire showPicker() so clicking the chevron opens the calendar
- Add min attribute (today) to ActivityList date filter input
- Add min attribute (today) to RegistrationForm event date input
- Add min attribute (today) to CreateEventModal event date input
- Convert CommentSection.css to CommentSection.module.css and update classNames
- Convert reportsPage.css to reportsPage.module.css; update Reports.jsx, ReportTableSearchPanel.jsx, and AddLostTime.jsx to use CSS Modules
|
|
Thank you all, merging! |













Description
Related PRS (if any):
This frontend PR is related to the development backend PR. To test this frontend PR, you need to checkout the development backend PR.
…
Main changes explained:
src/components/CommunityPortal/CPDashboard.jsxto add date restriction functionality…
How to test:
npm installand...to run this PR locallyScreenshots or videos of changes:
Before :

After
