File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
client/packages/lowcoder/src/comps/comps/numberInputComp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ const childrenMap = {
293
293
viewRef : RefControl < HTMLInputElement > ,
294
294
style : styleControl ( InputFieldStyle , 'style' ) ,
295
295
labelStyle : styleControl ( LabelStyle , 'labelStyle' ) ,
296
- prefixText : stringExposingStateControl ( "defaultValue" ) ,
296
+ prefixText : StringControl ,
297
297
animationStyle : styleControl ( AnimationStyle , 'animationStyle' ) ,
298
298
prefixIcon : IconControl ,
299
299
inputFieldStyle : styleControl ( InputLikeStyle , 'inputFieldStyle' ) ,
@@ -415,7 +415,7 @@ const CustomInputNumber = (props: RecordConstructorToView<typeof childrenMap>) =
415
415
precision = { props . precision }
416
416
$style = { props . inputFieldStyle }
417
417
$disabledStyle = { props . disabledStyle }
418
- prefix = { hasIcon ( props . prefixIcon ) ? props . prefixIcon : props . prefixText . value }
418
+ prefix = { hasIcon ( props . prefixIcon ) ? props . prefixIcon : props . prefixText }
419
419
tabIndex = { typeof props . tabIndex === 'number' ? props . tabIndex : undefined }
420
420
onPressEnter = { ( ) => {
421
421
handleFinish ( ) ;
You can’t perform that action at this time.
0 commit comments