Skip to content

Commit 821398e

Browse files
authored
fix: object inputs layout child (#37)
1 parent 9f8a8ce commit 821398e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const ObjectValueInput: ObjectIndependentInput = (props) => {
2828
if (spec.properties?.[OBJECT_VALUE_PROPERTY_NAME]) {
2929
const childSpec = _.cloneDeep(spec.properties[OBJECT_VALUE_PROPERTY_NAME]);
3030

31-
childSpec.viewSpec.layout = '';
31+
childSpec.viewSpec.layout = 'transparent';
3232

3333
return childSpec;
3434
}

src/lib/kit/components/Inputs/Secret/Secret.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const Secret: ObjectIndependentInput = (props) => {
1313
if (spec.properties?.[SECRET_PROPERTY_NAME]) {
1414
const childSpec = _.cloneDeep(spec.properties?.[SECRET_PROPERTY_NAME]);
1515

16-
childSpec.viewSpec.layout = '';
16+
childSpec.viewSpec.layout = 'transparent';
1717

1818
return childSpec;
1919
}

src/lib/kit/components/Inputs/TextLink/TextLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const TextLink: ObjectIndependentInput = (props) => {
3737
) {
3838
const childSpec = _.cloneDeep(spec.properties[TEXT_LINK_PROPERTY_NAME]);
3939

40-
childSpec.viewSpec.layout = '';
40+
childSpec.viewSpec.layout = 'transparent';
4141

4242
return childSpec;
4343
}

0 commit comments

Comments
 (0)