You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Collection has an id of type text like with: { name: 'id', type: 'text', required: true }, then NaN is displayed in the title when the id field is empty.
I would assume the default should be [Untitled] like in a normal collection
Describe the Bug
When a Collection has an
id
of typetext
like with:{ name: 'id', type: 'text', required: true }
, thenNaN
is displayed in the title when theid
field is empty.I would assume the default should be
[Untitled]
like in a normal collectionLink to the code that reproduces this issue
https://github.com/nathanclevenger/payload-repro/blob/main/collections/Resources.ts
Reproduction Steps
Go to the Resources collection and create New
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Payload: 3.0.0-beta.126
Node: v20.13.1
Next: 15.0.0
The text was updated successfully, but these errors were encountered: