decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.83k stars 3.04k forks source link

TypeError: t.get is not a function #7122

Closed alli1337 closed 7 months ago

alli1337 commented 7 months ago

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

CMS configuration


backend:
  name: git-gateway
  branch: master
media_folder: static/assets/img/uploads/articles
public_folder: /assets/img/uploads/articles
collections:
- name: 'template-library'
    label: 'Template Library'
    folder: 'content/template-library'
    create: true
    editor:
      preview: false
    fields:
      - {
        label: 'Meta Title',
        name: 'title',
        widget: 'string',
        hint: 'for SEO (shows on page tab)'
        }
      - label: 'Template Type'
        name: 'templateType'
        widget: 'list'
        types:
        - label: 'Automation'
          name: 'automation'
          widget: object
          summary: '{{fields.title}}'
          fields:
            - {
              label: 'Meta Title',
              name: 'title',
              widget: 'string',
              hint: 'for SEO (shows on page tab)'
              }
            - {
              label: 'Description',
              name: 'description',
              widget: 'text'
              }
            - {
              label: 'Type of Template',
              name: 'templateType',
              widget: 'string'
              }
            - {
              label: Tone of Template,
              name: 'tone',
              }
            - {
              label: 'Template Content',
              name: 'body',
              widget: 'markdown'
              }
...
martinjagodic commented 7 months ago

Hi @alli1337, please fill out all the fields in the issue template. The information you provided is not enough to debug the problem.

I'm closing the issue for now. Once you add the missing information, I can open it again.