Skip to content

Commit 2e38751

Browse files
author
FalkWolsky
committed
Drawer and Modal with title. Fixes #557
1 parent f728973 commit 2e38751

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/packages/lowcoder/src/comps/hooks/modalComp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ let TmpModalComp = (function () {
188188
.setPropertyViewFn((children) => (
189189
<>
190190
<Section name={sectionNames.basic}>
191-
{children.title.propertyView({ label: trans("drawer.title") })}
192-
{children.title.getView() && children.titleAlign.propertyView({ label: trans("drawer.titleAlign"), radioButton: true })}
191+
{children.title.propertyView({ label: trans("modalComp.title") })}
192+
{children.title.getView() && children.titleAlign.propertyView({ label: trans("modalComp.titleAlign"), radioButton: true })}
193193
{children.autoHeight.getPropertyView()}
194194
{!children.autoHeight.getView() &&
195195
children.height.propertyView({

client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,6 +2343,8 @@ export const en = {
23432343
"openModalDesc": "Open the Dialog Box",
23442344
"closeModalDesc": "Close the Dialog Box",
23452345
"visibleDesc": "Is it Visible? If True, the Current Dialog Box Will Pop Up",
2346+
"title": "Drawer Title",
2347+
"titleAlign": "Title Alignment",
23462348
"modalHeight": "Modal Height",
23472349
"modalHeightTooltip": "Pixel, Example: 222",
23482350
"modalWidth": "Modal Width",

0 commit comments

Comments
 (0)