Confusion about pages field: Add vs Select

I am a bit confused about when pages fields allow addition of pages versus only selection?

As an example, I am trying to create the following:

If i separate Chapters and Articles into their own tabs, I am able to ‘Add’ new pages to Chapters and Articles:

  chapters:
    label: Chapters
    sections:
      chapters:
        type: pages # this is a section of type pages
        headline: Chapters
        template: chapter
        sortable: true

  articles:
    label: Articles
    sections:
      articles:
        type: pages # this is a section of type pages
        headline: Articles
        template: article
        sortable: true

but if I combine these two into one tab, I lose the ability to add pages and a only able to select existing pages, and all pages that were previously visible disappear:

  content:
    label: Content
    columns:
      - width: 1/3
        sections:
          chapters:
            type: fields # this is now a fields section with a set of fields
            fields:
              chapters:
                type: pages # this is now a pages field instead of a pages section
                headline: Chapters # a field has a label, not a headline
                template: chapter
                sortable: true  
      - width: 2/3
        sections:
          articles:
            type: fields
            fields:
              articles:
                type: pages # this is now also a pages field instead of a pages section
                headline: Articles
                template: article
                sortable: true

Sorry as I imagine I am missing something fundamentally basic and straightforward, but can’t seem to figure it out.

In your second example, you use a pages field inside a fields section instead of a pages section in your first blueprint. See my comments above.

1 Like

Thank you as always @texnixe for incredibly prompt help and also such precise clarity. Ok this clarifies so many things, especially through the linked article.

For reference, this is now working perfectly:

content:
    label: Content
    columns:
      - width: 1/3
        sections:
          chapters:
            type: pages
            headline: Chapters
            template: chapter
            sortable: true  
      - width: 2/3
        sections:
          articles:
            type: pages
            headline: Articles
            template: article
            sortable: true