Skip to content

Akshith: fix event date selector#4892

Open
akshith312 wants to merge 2 commits intodevelopmentfrom
Akshith-fix-event-date-selector
Open

Akshith: fix event date selector#4892
akshith312 wants to merge 2 commits intodevelopmentfrom
Akshith-fix-event-date-selector

Conversation

@akshith312
Copy link
Contributor

Description

image

Related PRS (if any):

This frontend PR is not related to any other PR.

Main changes explained:

  • Disabled Date selector from displaying past dates.
  • Added Error message if past date is entered for the event date.

How to test:

  1. check into current branch
  2. do npm install and npm run start:local to run this PR locally
  3. Clear site data/cache
  4. login as admin user
  5. go to dashboard→ https://localhost:5173/communityportal/reports/participation
  6. Click on Event Date.
  7. The Date selector now displays the present dates and future.
  8. Try typing a past date for the event date and creating the event.
  9. The modal displays error message indicating past date is not allowed.

Screenshots or videos of changes:

Screen.Recording.2026-02-24.213624.mp4

Note:

Include the information the reviewers need to know.

@netlify
Copy link

netlify bot commented Feb 25, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 56dd4cd
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/699e8e101e3e8d0008ac92a7
😎 Deploy Preview https://deploy-preview-4892--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link

@Vishnu10-hub
Copy link

Screenshot 2026-02-25 at 17 34 52 Screenshot 2026-02-25 at 17 34 56 I tested the PR locally. Backend running on port 4500 and frontend on 5173. Navigated to /communityportal/reports/participation. when I manually typed a past date and created the event, the system still allowed the event to be created and no validation error message was shown. According to the testing steps, the modal should display an error indicating past dates are not allowed. So the validation is not working as expected. Requesting changes.

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

Successfully merging this pull request may close these issues.

2 participants