Skip to content

Can enter '$0' as the Challenge Prizes even though the validation is displayed as "Prize amount must be more than zero" #786

@codejamtc

Description

@codejamtc

10.zip

Steps to reproduce the problem

  1. Open https://challenges.topcoder-dev.com/ and login as Admin
  2. Select a project from the list 'Test v5 {codejam} - 0001'
  3. Create a Design challenge
  4. Enter Prize 1=100; > Click 'Add New Prize' > Enter Prize 2=50 > Click 'Add New Prize'
  5. Change the Prize 03=$0 (You can see the validation "Prize amount must be more than zero")
  6. Click 'Save Draft'

Actual behavior

  • Can enter '$0' as the Challenge Prizes even though the validation is displayed as "Prize amount must be more than zero"

Expected behavior

  • Sometimes we need to set $0 for the challenges so this may be required but there is a validation shown "Prize amount must be more than zero" If this is allowed we should remove the validation

Environment

- OS: HP 15-dw1xxx 15.6 inch; Window 10
- Browser (w/version): Chrome 85.0.4183.83
- User role (client, copilot or manager): Admin
- Account used: TonyJ

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions