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

Fix list items crashing for first fields other than strings. #1115

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

tech4him1
Copy link
Contributor

@tech4him1 tech4him1 commented Feb 18, 2018

- Summary

If the first field in a list widget didn't return a string (or React component), the CMS would crash. This was because the CMS was trying to render the value of the first widget when a list item was collapsed, as explained in the related issue.

Fixes #1113.

- Test plan

Manually tested with date widget.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@verythorough
Copy link
Contributor

Deploy preview for netlify-cms-www ready!

Built with commit 4d3f05b

https://deploy-preview-1115--netlify-cms-www.netlify.com

@verythorough
Copy link
Contributor

Deploy preview for cms-demo ready!

Built with commit 4d3f05b

https://deploy-preview-1115--cms-demo.netlify.com

@erquhart erquhart merged commit 6847353 into master Feb 23, 2018
@erquhart erquhart deleted the 1113-list-crash branch February 23, 2018 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date Picker crashing CMS in list widget
3 participants