You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug is inconsistent and I can't yet point out what the issue is but I keep getting an error when trying to save a translated version of a collection the save button is not responsive.
and I get a not very helpful error in the console:
To Reproduce
The following is my config.yml
site_url: https://SOMETHING.netlify.app/logo_url: https://SOMETHING.netlify.app/logo.pngpublish_mode: editorial_workflowbackend:
name: git-gatewaybranch: mastermedia_folder: static/imgpublic_folder: /imgi18n:
# Required and can be one of multiple_folders, multiple_files or single_file# multiple_folders - persists files in `<folder>/<locale>/<slug>.<extension>`# multiple_files - persists files in `<folder>/<slug>.<locale>.<extension>`# single_file - persists a single file in `<folder>/<slug>.<extension>`structure: multiple_folders# Required - a list of locales to show in the editor UI# en - English# ar - Arabic# ms - Malay# sw - Swahililocales: [en, ar, ms, sw]# Optional, defaults to the first item in locales.# The locale to be used for fields validation and as a baseline for the entry.default_locale: en# Docs: https://www.netlifycms.org/docs/configuration-options/#collectionscollections:
- label: 'Site settings'name: 'site'files:
- label: 'Info'name: 'info'file: 'content/site/info.json'format: 'json'editor:
preview: falsefields:
- { label: Site Name, name: sitename, widget: string, hint: 'This is used for the site title' }
- { label: Email Contact, name: contact, widget: string, hint: 'This email is used for the contact form' }
- {label: Site Description,name: sitedescription,widget: string,hint: 'This is used as descriptive text for links that link to this site',}
- {label: Site Language,name: sitelang,widget: string,pattern: ['^[a-z]{2}([-])?([A-Za-z]{2})?$', 'Must match "xx" or "xx-XX" syntax (ex. "en" or "sv-SE")'],hint: 'The default website language'}# - { label: Site Email, name: siteemail, widget: string, required: false }
- name: 'blog'label: 'Blog'folder: 'content/blog'create: truei18n: trueformat: 'frontmatter'slug: '{{year}}-{{month}}-{{day}}-{{slug}}'# editor:# preview: truefields:
- { label: 'Title', name: 'title', widget: 'string', required: true, i18n: true }
- { label: 'Description', name: 'description', widget: 'string', required: false, i18n: true }
- { label: 'Body', name: 'body', widget: 'markdown', required: false }
- name: 'campaigns'label: 'campaigns'label_singular: 'Campaign'folder: 'content/campaigns'create: truei18n: trueformat: 'frontmatter'slug: '{{slug}}'preview_path: 'campaigns/{{slug}}'fields:
- {label: 'Campaign tag',name: 'tags',widget: 'list',default: ['zakat'],min: 1,max: 3}
- { label: 'Title', name: 'title', widget: 'string', i18n: true, required: true }
- { label: 'Description', name: 'description', widget: 'string', i18n: true, required: false }
- { label: 'Cover Image', name: 'cover', widget: 'image', required: false, i18n: duplicate, allow_multiple: false }
- { label: 'Content', name: 'body', widget: 'markdown', i18n: true, required: true }
- {label: 'Gallery',name: 'gallery',widget: 'list',required: false,summary: '{{fields.image}}',field: { label: 'Image', name: 'image', widget: 'image' },}
Expected behavior
the save button should save properly and there should be no errors
Describe the bug
The bug is inconsistent and I can't yet point out what the issue is but I keep getting an error when trying to save a translated version of a collection the save button is not responsive.
and I get a not very helpful error in the console:
To Reproduce
The following is my
config.yml
Expected behavior
the save button should save properly and there should be no errors
Applicable Versions:
The text was updated successfully, but these errors were encountered: