Skip to content

Commit ef62a58

Browse files
committed
formating removed-7
1 parent 32761e8 commit ef62a58

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -169,21 +169,21 @@ let AutoCompleteCompBase = (function () {
169169
},
170170
}}
171171
>
172-
<AutoComplete
172+
<AutoComplete
173173
disabled={props.disabled}
174174
value={searchtext}
175-
options={items}
176-
style={{width: "100%"}}
175+
options={items}
176+
style={{ width: "100%" }}
177177
onChange={(value: string, option) => {
178178
props.valueInItems.onChange(false);
179179
setvalidateState(textInputValidate(getTextInputValidate()));
180180
setsearchtext(value);
181-
props.value.onChange(value);
182-
props.onEvent("change");
183-
}}
181+
props.value.onChange(value);
182+
props.onEvent("change")
183+
}}
184184
onFocus={() => {
185-
setActivationFlag(true);
186-
props.onEvent("focus");
185+
setActivationFlag(true)
186+
props.onEvent("focus")
187187
}}
188188
onBlur={() => props.onEvent("blur")}
189189
onSelect={(data: string, option) => {
@@ -269,23 +269,23 @@ let AutoCompleteCompBase = (function () {
269269
return false;
270270
}}
271271
>
272-
<InputStyle
273-
ref={props.viewRef}
274-
placeholder={placeholder}
275-
allowClear={props.allowClear}
276-
$style={props.inputFieldStyle}
277-
prefix={hasIcon(props.prefixIcon) && props.prefixIcon}
278-
suffix={hasIcon(props.suffixIcon) && props.suffixIcon}
279-
status={getValidate(validateState)}
280-
onPressEnter={undefined}
281-
/>
272+
<InputStyle
273+
ref={props.viewRef}
274+
placeholder={placeholder}
275+
allowClear={props.allowClear}
276+
$style={props.inputFieldStyle}
277+
prefix={hasIcon(props.prefixIcon) && props.prefixIcon}
278+
suffix={hasIcon(props.suffixIcon) && props.suffixIcon}
279+
status={getValidate(validateState)}
280+
onPressEnter={undefined}
281+
/>
282282
</AutoComplete>
283283
</ConfigProvider>
284284
</>
285285
),
286286
style: props.style,
287287
labelStyle: props.labelStyle,
288-
inputFieldStyle: props.inputFieldStyle,
288+
inputFieldStyle:props.inputFieldStyle,
289289
animationStyle: props.animationStyle,
290290
...validateState,
291291
});

0 commit comments

Comments
 (0)