-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed as not planned
Description
Describe the bug
I have a string field with a default value on a file in a file collection that doesn't get populated, while an identical config works in a folder collection.
To Reproduce
{
collections: [{
name: 'main',
label: 'Main Pages',
singular_label: 'Page',
preview_path: '{{fields.slug}}',
format: 'yaml-frontmatter',
editor: {preview: false},
create: false,
delete: false,
files: [{
label: 'Home',
name: 'home',
file: `content/page/home.md`,
fields: [
{label: 'Title', name: 'title', widget: 'string', default: 'Home'},
],
}],
}]
}
Expected behavior
I expect the default value to apply.
Applicable Versions:
Most recent everything.
Additional context
I'm manually initializing, and doing my config in JS.
Metadata
Metadata
Assignees
Labels
No labels