Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bwklein opened this issue Jun 13, 2022 · 2 comments
Labels
bug Something isn't working Project: v8.0.0

Comments

@bwklein
Copy link

bwklein commented Jun 13, 2022

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.

@bwklein bwklein added the bug Something isn't working label Jun 13, 2022
@bwklein
Copy link
Author

bwklein commented Jun 13, 2022

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

@estruyf
Copy link
Owner

estruyf commented Jun 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Project: v8.0.0
Projects
None yet
Development

No branches or pull requests

2 participants