Skip to content

Cannot save required field with value 0 #1980

Closed
@RaschidJFR

Description

@RaschidJFR

New Issue Checklist

Issue Description

Getting error Please enter all required fields when setting value 0 in a required column

Steps to reproduce

  1. Create a new class
  2. Add a column "MyColumn" of type Number and mark it as required
  3. Add a new row and with a value of 0 in "MyColumn"

Actual Outcome

Getting error: Please enter all required fields

image

Expected Outcome

0 should be accepted as a valid value for "MyColumn"

Environment

Dashboard

  • Parse Dashboard version: 3.3.0
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Chrome
  • Browser version: 96.0.4664.110

Server

  • Parse Server version: 4.10.4
  • Operating system: MacOS 11.3.4
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local

Database

  • System (MongoDB or Postgres): MongoDb
  • Database version: 3.6.8
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$10Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionstate:released-alphaReleased as alpha versionstate:released-betaReleased as beta versiontype:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions