-
-
Notifications
You must be signed in to change notification settings - Fork 88
Issue: Field Group fields cause "Objects are not valid as a React child" on Dashboard #678
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
Comments
Huh, the issue seems to be with the In any case, my issue is solved! |
Thank you @matfantinel for opening and letting me know the solution. |
@matfantinel I made a change to the code to make sure this cannot happen anymore. It will be testable in the latest beta. |
Describe the bug
I've started using fieldGroups in my Frontmatter config to add a "tag" object, defined in frontmatter.json like this:
This is used in a content type called "Work Experience", and the Tags prop is defined like this:
The UI for adding Tags is displayed correctly, and adding tags through it results in something like this:
However, when after saving the file, the Dashboard immediately crashes. On developer tools, I was able to get the error message:
Removing the tags field or leaving it empty (
[]
) makes the dashboard open again.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the dashboard to open
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: