Skip to content

Commit 14fc69a

Browse files
committed
formating removed-105
1 parent 111b296 commit 14fc69a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ const UndefinedNumberControl = codeControl<number | undefined>((value: any) => {
243243
});
244244

245245
const childrenMap = {
246-
defaultValue: stringExposingStateControl('defaultValue'), // It is more convenient for string to handle various states, save raw input here
247-
value: numberExposingStateControl('value'), // It is more convenient for string to handle various states, save raw input here
246+
defaultValue: stringExposingStateControl("defaultValue"), // It is more convenient for string to handle various states, save raw input here
247+
value: numberExposingStateControl("value"), // It is more convenient for string to handle various states, save raw input here
248248
placeholder: StringControl,
249249
disabled: BoolCodeControl,
250250
readOnly: BoolControl,
251251
label: LabelControl,
252-
formatter: dropdownControl(FormatterOptions, 'standard'),
252+
formatter: dropdownControl(FormatterOptions, "standard"),
253253
step: withDefault(NumberControl, 1),
254254
controls: BoolControl.DEFAULT_TRUE, // Whether to display the increase or decrease button
255255
precision: RangeControl.closed(0, 20, 0),
@@ -262,9 +262,7 @@ const childrenMap = {
262262
animationStyle: styleControl(AnimationStyle),
263263
prefixText: stringExposingStateControl('defaultValue'),
264264
prefixIcon: IconControl,
265-
inputFieldStyle: withDefault(styleControl(InputLikeStyle), {
266-
borderWidth: '1px',
267-
}),
265+
inputFieldStyle: withDefault(styleControl(InputLikeStyle), {borderWidth: '1px'}) ,
268266
// validation
269267
required: BoolControl,
270268
min: UndefinedNumberControl,

0 commit comments

Comments
 (0)