@@ -43,7 +43,7 @@ function FieldBlock(props: Props) {
error: errorProp,
disabled,
width,
- contentsWidth,
+ contentWidth,
size,
contentClassName,
children,
@@ -169,8 +169,8 @@ function FieldBlock(props: Props) {
diff --git a/packages/dnb-eufemia/src/extensions/forms/FieldBlock/__tests__/FieldBlock.test.tsx b/packages/dnb-eufemia/src/extensions/forms/FieldBlock/__tests__/FieldBlock.test.tsx
index 553bc25a943..b18ef1a8d88 100644
--- a/packages/dnb-eufemia/src/extensions/forms/FieldBlock/__tests__/FieldBlock.test.tsx
+++ b/packages/dnb-eufemia/src/extensions/forms/FieldBlock/__tests__/FieldBlock.test.tsx
@@ -347,9 +347,9 @@ describe('FieldBlock', () => {
)
})
- it('should support "contentsWidth" property', () => {
+ it('should support "contentWidth" property', () => {
const { rerender } = render(
- content
+ content
)
const element = document.querySelector(
@@ -360,7 +360,7 @@ describe('FieldBlock', () => {
'dnb-forms-field-block__contents--width-medium'
)
- rerender(content)
+ rerender(content)
expect(element.classList).toContain(
'dnb-forms-field-block__contents--width-large'
diff --git a/packages/dnb-eufemia/src/extensions/forms/Iterate/Array/Array.tsx b/packages/dnb-eufemia/src/extensions/forms/Iterate/Array/Array.tsx
index 611898594b0..2d4d400007c 100644
--- a/packages/dnb-eufemia/src/extensions/forms/Iterate/Array/Array.tsx
+++ b/packages/dnb-eufemia/src/extensions/forms/Iterate/Array/Array.tsx
@@ -83,7 +83,7 @@ function ArrayComponent(props: Props) {
warning={warning}
error={error}
width={width}
- contentsWidth={width !== false ? width : undefined}
+ contentWidth={width !== false ? width : undefined}
{...pickSpacingProps(props)}
>