Skip to content

When createdBy and updatedBy are undefined, it shows as the logged in user #5

Description

@cerize

Thanks so much for this plugin, it is so helpful!

One thing I would like to mention is that for my documents created before I added the plugin (so createdBy and updatedBy are undefined) it shows these fields in the UI as the logged in user, instead of showing no value.

Probably this happen because those fields have a default value, so the component DisplayOnlyField is returned the default values when it calls 'useField()'?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions