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

CP: Collection Fieldset and Max Items 1 set as Panes #1314

JayVerb opened this Issue Mar 10, 2017 · 3 comments


None yet
4 participants

JayVerb commented Mar 10, 2017

Expected behaviour

When adding a Collection field type in a fieldset, if you set it to Max Items 1 and UI Mode to Panes, it should display as a dropdown list rather than Panes when adding new content.

Actual behaviour

It still displays as Panes

Steps to reproduce

  1. Make sure you have a Collection with entries
  2. Add a Collection Field within a fieldset
  3. Set Max Items to 1
  4. Set UI Mode to Panes
  5. Add a new entry where the fieldset you just edited is present

Server configuration

Operating system:
Mac 10.12.3

Web server:

PHP version:

Statamic version:

Updated from an older Statamic or fresh install:

List of installed addons:



panes fieldset display

@jackmcdade jackmcdade self-assigned this Mar 16, 2017


This comment has been minimized.


jackmcdade commented Mar 16, 2017

Got this one fixed up. It was the age-old "YAML is parsing 1 as the string "1".


This comment has been minimized.

JayVerb commented Mar 16, 2017

Awesome @jackmcdade, thank you! Does the YAML still save the result as an array if set to 1? It would be nice to get rid of all my relate tags .


This comment has been minimized.

edalzell commented Mar 16, 2017

Perhaps this is the same issue: #1309 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment