Skip to content

Commit 76f46bc

Browse files
fix jsonSchemaForm properties are showing in other comps
1 parent 9ec5282 commit 76f46bc

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

client/packages/lowcoder/src/comps/comps/jsonSchemaFormComp/jsonSchemaFormComp.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ let FormBasicComp = (function () {
239239
<Section name={sectionNames.basic}>
240240

241241
{children.schema.propertyView({
242+
key: trans("jsonSchemaForm.jsonSchema"),
242243
label: (
243244
<>
244245
{trans("jsonSchemaForm.jsonSchema") + " ("}
@@ -274,6 +275,7 @@ let FormBasicComp = (function () {
274275
),
275276
})}
276277
{children.uiSchema.propertyView({
278+
key: trans("jsonSchemaForm.uiSchema"),
277279
label: (
278280
<>
279281
{trans("jsonSchemaForm.uiSchema") + " ("}
@@ -311,6 +313,7 @@ let FormBasicComp = (function () {
311313
),
312314
})}
313315
{children.data.propertyView({
316+
key: trans("jsonSchemaForm.defaultData"),
314317
label: trans("jsonSchemaForm.defaultData"),
315318
})}
316319
</Section>
@@ -328,13 +331,13 @@ let FormBasicComp = (function () {
328331

329332
{(useContext(EditorContext).editorModeStatus === "layout" || useContext(EditorContext).editorModeStatus === "both") && (
330333
<>
331-
<Section name={sectionNames.style}>
332-
{children.style.getPropertyView()}
333-
</Section>
334-
<Section name={sectionNames.animationStyle} hasTooltip={true}>
335-
{children.animationStyle.getPropertyView()}
334+
<Section name={sectionNames.style}>
335+
{children.style.getPropertyView()}
336+
</Section>
337+
<Section name={sectionNames.animationStyle} hasTooltip={true}>
338+
{children.animationStyle.getPropertyView()}
336339
</Section>
337-
</>
340+
</>
338341
)}
339342

340343
</>

client/packages/lowcoder/src/comps/comps/tableComp/tableCompView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ const TableWrapper = styled.div<{
199199
border-top: none !important;
200200
border-inline-start: none !important;
201201
overflow-y:scroll;
202-
height:300px;
202+
height:300px
203203
204204
&::after {
205205
box-shadow: none !important;

0 commit comments

Comments
 (0)