Skip to content

Commit 03b6355

Browse files
committed
default background color for input components set to transparent
1 parent 6e3c639 commit 03b6355

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const childrenMap = {
257257
allowNull: BoolControl,
258258
onEvent: InputEventHandlerControl,
259259
viewRef: RefControl<HTMLInputElement>,
260-
style: styleControl(InputFieldStyle),
260+
style: withDefault(styleControl(InputFieldStyle),{background:'transparent'}) ,
261261
labelStyle:styleControl(LabelStyle),
262262
prefixText : stringExposingStateControl("defaultValue"),
263263
animationStyle: styleControl(AnimationStyle),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const SliderChildren = {
7171
label: LabelControl,
7272
disabled: BoolCodeControl,
7373
onEvent: ChangeEventHandlerControl,
74-
style:styleControl(InputFieldStyle),
74+
style: withDefault(styleControl(InputFieldStyle),{background:'transparent'}) ,
7575
labelStyle:styleControl(LabelStyle.filter((style)=> ['accent','validate'].includes(style.name) === false)),
7676
prefixIcon: IconControl,
7777
suffixIcon: IconControl,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const RatingBasicComp = (function () {
4343
allowHalf: BoolControl,
4444
disabled: BoolCodeControl,
4545
onEvent: eventHandlerControl(EventOptions),
46-
style:styleControl(InputFieldStyle),
46+
style: withDefault(styleControl(InputFieldStyle),{background:'transparent'}) ,
4747
animationStyle: styleControl(AnimationStyle),
4848
labelStyle: styleControl(
4949
LabelStyle.filter(

client/packages/lowcoder/src/comps/comps/textInputComp/inputComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const childrenMap = {
4949
viewRef: RefControl<InputRef>,
5050
showCount: BoolControl,
5151
allowClear: BoolControl,
52-
style: styleControl(InputFieldStyle),
52+
style: withDefault(styleControl(InputFieldStyle),{background:'transparent'}) ,
5353
labelStyle:styleControl(LabelStyle),
5454
prefixIcon: IconControl,
5555
suffixIcon: IconControl,

client/packages/lowcoder/src/comps/comps/textInputComp/passwordComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ let PasswordTmpComp = (function () {
5757
validationType: dropdownControl(TextInputValidationOptions, "Regex"),
5858
visibilityToggle: BoolControl.DEFAULT_TRUE,
5959
prefixIcon: IconControl,
60-
style:styleControl(InputFieldStyle),
60+
style: withDefault(styleControl(InputFieldStyle),{background:'transparent'}) ,
6161
labelStyle: styleControl(LabelStyle),
6262
inputFieldStyle: withDefault(styleControl(InputLikeStyle),{borderWidth: '1px'}),
6363
animationStyle: styleControl(AnimationStyle),

client/packages/lowcoder/src/comps/comps/textInputComp/textAreaComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ let TextAreaTmpComp = (function () {
7171
viewRef: RefControl<TextAreaRef>,
7272
allowClear: BoolControl,
7373
autoHeight: withDefault(AutoHeightControl, "fixed"),
74-
style: styleControl(InputFieldStyle),
74+
style: withDefault(styleControl(InputFieldStyle),{background:'transparent'}) ,
7575
labelStyle: styleControl(LabelStyle),
7676
inputFieldStyle: withDefault(styleControl(InputLikeStyle), {borderWidth: '1px'}),
7777
animationStyle: styleControl(AnimationStyle)

0 commit comments

Comments
 (0)