payload
payload copied to clipboard
Cannot null / empty a number field
Link to reproduction
No response
Payload Version
3.0.0-beta.87
Node Version
22.4
Next.js Version
15.0.0-canary.104
Describe the Bug
When adding a number
field to a collection or global, and it is also not required (optional), its value cannot be emptied / nulled.
Reproduction Steps
- Add a
number
field to a collection (ensuringrequired
isfalse
- Add a value and save
- Attempt to delete the value and save, it will save it with its value before attempting to delete
Adapters and Plugins
db-postgres