Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

TypeError: v.map is not a function #1125

Open
felipesanchez-dev opened this issue Sep 8, 2024 · 0 comments
Open

TypeError: v.map is not a function #1125

felipesanchez-dev opened this issue Sep 8, 2024 · 0 comments

Comments

@felipesanchez-dev
Copy link

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Static CMS version: @staticcms/[email protected]
  • Git provider: proxy
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0

CMS configuration

locale: es
site_url: https://www.fundacionsandimas.org/
logo_url: https://nebulix.unfolding.io/logo.svg
local_backend: true
backend:
  name: proxy
  proxy_url: http://localhost:8081/api/v1
search: true
media_folder: src/assets
public_folder: /src/assets
media_library:
  max_file_size: 2012000
  folder_support: true
collections:
  - name: page
    identifier_field: name
    folder: src/content/page
    label: Pages
    format: frontmatter
    extension: mdx
    icon: page
    create: true
    editor:
      preview: false
      frame: false
    fields:
      - label: Título
        name: title
        widget: string
        pattern:
          - .{5,}
          - Must have at least 20 characters
      - label: Descripción (SEO)
        name: description
        widget: text
        pattern:
          - .{10,}
          - Must have at least 10 characters
      - label: Introducción de héroe
        name: intro
        widget: text
        required: false
      - label: Cuerpo
        name: body
        widget: markdown
        required: false
        toolbar_buttons:
          main:
            - bold
            - italic
            - strikethrough
            - code
            - font
            - blockquote
            - unordered-list
            - ordered-list
            - decrease-indent
            - increase-indent
            - label: Insertar
              groups:
                - items:
                    - blockquote
                    - code-block
                - items:
                    - image
                    - file-link
        show_raw: true
        media_library:
          max_file_size: 2012000
          folder_support: true
      - name: hero_buttons
        label: Botones de héroe
        label_singular: Button
        widget: list
        collapsed: true
        summary: "{{fields.label}} | {{fields.href}}"
        fields:
          - label: Etiqueta
            name: label
            widget: string
          - label: Enlace
            name: href
            widget: string
          - name: color
            label: surface
            multiple: false
            widget: relation
            collection: config
            file: style
            search_fields:
              - surface.*.name
            display_fields:
              - surface.*.name
            value_field: surface.*.class
            options_length: 50
            required: false
          - name: icon
            label: Ícono
            widget: relation
            collection: config
            required: false
            file: style
            search_fields:
              - icons.*.name
            display_fields:
              - icons.*.name
            options_length: 50
            value_field: icons.*.icon
          - name: icon_only
            label: Solo ícono
            widget: boolean
            required: false
          - label: Clase
            name: class_name
            widget: string
            required: false
        required: false
      - name: blocks
        label: Bloques del constructor de páginas
        label_singular: block
        required: false
        widget: list
        collapsed: true
        types:
          - name: gallery
            label: Galería
            widget: object
            collapsed: true
            summary: "{{fields.title}}"
            fields:
              - label: Component
                name: component
                widget: hidden
                default: ImageGallery
              - name: title
                label: Título
                widget: string
                default: Galería de imágenes
             
...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant