when i am using the cms backend, and edit data, it does not save, and reverts back to the original like changes were made. what could be the issue.
if I edit via expert mode it works fine. but not ideal for normal users
here is my custom blueprint
extends@: default
form:
fields:
tabs:
fields:
product:
type: tab
title: Product Details
fields:
header.product.options:
type: section
title: Product Options
underline: true
header.product.code:
type: text
label: Product Code
validate:
required: true
header.product.name:
type: text
label: Product Name
validate:
required: true
header.product.description:
type: textarea
label: Product Description
validate:
required: true
header.product.featuresSection:
type: section
title: Features
underline: true
header.product.features:
type: list
style: vertical
label: Product Features
fields:
.feature:
type: text
label: Feature
validate:
required: true
header.product.order_feature:
type: list
style: vertical
label: Product Additional Features
fields:
.group:
type: text
label: Group name
.feature:
type: text
label: Feature description
.code:
type: text
label: Part Code
header.product.fixingsSection:
type: section
title: Fixings
underline: true
header.product.fixings:
type: list
style: vertical
label: Fixing Requirements
fields:
.material:
type: text
label: Material
.fastener:
type: text
label: Fastener
header.product.additional_fixings:
type: textarea
autofocus: true
label: Additional Fixing Requirements
header.product.CorrosionsSection:
type: section
title: Corrosion
underline: true
header.product.corrosions:
type: list
style: vertical
label: Corrosion Characteristics
fields:
.material:
type: text
label: Material
.Rvalue:
type: text
label: R-Value
.special:
type: checkbox
label: Special Order
header.product.additional_corrosion:
type: textarea
autofocus: true
label: Additional Corrosion Characteristics
header.product.informationSection:
type: section
title: Additional Information
underline: true
header.product.lifeCycle:
type: textarea
autofocus: true
label: Life Cycle
header.product.packaging:
type: textarea
autofocus: true
label: Packaging
header.product.testingSection:
type: section
title: Testing
underline: true
header.product.testingInfo:
type: textarea
autofocus: true
label: Testing Information
header.product.sizesSection:
type: section
title: Sizes
underline: true
header.product.order_sizes:
type: list
style: vertical
label: Sizes
fields:
.a:
type: text
label: Size A
.b:
type: text
label: Size B
.c:
type: text
label: Size C
.custom:
type: checkbox
label: Custom
here is an example page
title: CM
routable: true
hero: false
taxonomy:
tag:
- bed-reinforcement
category: product
product:
code: CM
name: 'product name'
description: 'description text.'
features:
-
feature: 'feature1'
-
feature: 'feature2'
additional_fixings: ''
corrosions:
-
material: 'Stainless steel 304'
Rvalue: R3
special: '0'
additional_corrosion: ''
order_sizes:
-
a: 2700mm
b: 60mm
c: ''
custom: '0'
-
a: 600mm
b: 600mm
c: 60mm
custom: '0'
lifeExpectancy: ''
packaging: 'Bundles of 10'
testingInfo: "test info"
order_feature:
-
group: Type
feature: 'Straight'
code: S
-
group: Type
feature: 'Corner'
code: C
published: true
sitemap:
lastmod: '28-03-2025 10:23'
visible: true