Skip to content

Commit bee0f23

Browse files
committed
formating removed-97
1 parent 01b27f4 commit bee0f23

File tree

1 file changed

+3
-7
lines changed
  • client/packages/lowcoder/src/comps/comps/dateComp

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const validationChildren = {
6767
};
6868
const commonChildren = {
6969
label: LabelControl,
70-
placeholder: withDefault(StringControl, trans('date.placeholder')),
70+
placeholder: withDefault(StringControl, trans("date.placeholder")),
7171
format: StringControl,
7272
disabled: BoolCodeControl,
7373
onEvent: eventHandlerControl(EventOptions),
@@ -78,12 +78,8 @@ const commonChildren = {
7878
secondStep: RangeControl.closed(1, 60, 1),
7979
style: styleControl(InputFieldStyle),
8080
animationStyle: styleControl(AnimationStyle),
81-
labelStyle: styleControl(
82-
LabelStyle.filter(
83-
(style) => ['accent', 'validate'].includes(style.name) === false
84-
)
85-
),
86-
suffixIcon: withDefault(IconControl, '/icon:regular/calendar'),
81+
labelStyle: styleControl(LabelStyle.filter((style) => ['accent', 'validate'].includes(style.name) === false)),
82+
suffixIcon: withDefault(IconControl, "/icon:regular/calendar"),
8783
...validationChildren,
8884
viewRef: RefControl<CommonPickerMethods>,
8985
inputFieldStyle: withDefault(styleControl(DateTimeStyle), defaultStyle),

0 commit comments

Comments
 (0)