Issue: labelField parameter is not documented or in the json schema for use in Field Groups. #284

Closed
opened 2026-10-05 02:37:42 +02:00 by adam · 2 comments
Owner

Describe the bug
Add 'labelField' to the frontmatter.json file for a Field Group, the warning "Property labelField is not allowed" is shown for that param. Searching the documentation for 'labelField' doesn't return any results and it is not discussed in the Block or Field Groups section.

https://frontmatter.codes/docs/content-creation/fields#block
https://frontmatter.codes/docs/settings#frontmatter.taxonomy.fieldgroups

This parameter is useful for indicating in a field group which value to show in the list of blocks in a Field Group data structure.

**Describe the bug** Add 'labelField' to the frontmatter.json file for a Field Group, the warning "Property labelField is not allowed" is shown for that param. Searching the documentation for 'labelField' doesn't return any results and it is not discussed in the Block or Field Groups section. https://frontmatter.codes/docs/content-creation/fields#block https://frontmatter.codes/docs/settings#frontmatter.taxonomy.fieldgroups This parameter is useful for indicating in a field group which value to show in the list of blocks in a Field Group data structure. <!-- github-sync-id:1269769231 -->
adam closed this issue 2026-10-05 02:37:42 +02:00
Author
Owner

As a side note, it does work to use that parameter.

As a side note, it does work to use that parameter. <!-- github-comment-id:1154471085 -->
Author
Owner

@bwklein was indeed not present in the JSON schema. Will be added.

@bwklein was indeed not present in the JSON schema. Will be added. <!-- github-comment-id:1156569692 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#284