Skip to content

Akshith - Fix: max attendees accepting negative and decimal values#4941

Open
akshith312 wants to merge 1 commit intodevelopmentfrom
Akshith-fix-max-attendees-bug
Open

Akshith - Fix: max attendees accepting negative and decimal values#4941
akshith312 wants to merge 1 commit intodevelopmentfrom
Akshith-fix-max-attendees-bug

Conversation

@akshith312
Copy link
Contributor

Description

image

Related PRS (if any):

This frontend PR is not related to any other PR.

Main changes explained:

  • Fixed the validation for Max Attendees field in Create New Event Modal
  • Allows only Positive integers as a valid input for max attendees.

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/participation
  6. Click on Create New Event
  7. Try entering negative values or decimals in the max attendees input box
  8. Check if Error message is displayed and doesn't allow you to create the event.

Screenshots or videos of changes:

Screenshot 2026-03-04 165702 Screenshot 2026-03-04 165724

Note:

Include the information the reviewers need to know.

@netlify
Copy link

netlify bot commented Mar 5, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit e4f0ae1
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69a8db61c1d0f300087c0b7c
😎 Deploy Preview https://deploy-preview-4941--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

sonarqubecloud bot commented Mar 5, 2026

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.

1 participant