File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
client/packages/lowcoder/src/comps/comps/autoCompleteComp Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -162,19 +162,20 @@ let AutoCompleteCompBase = (function () {
162
162
} ,
163
163
} }
164
164
>
165
- < AutoComplete
165
+ < AutoComplete
166
166
disabled = { props . disabled }
167
167
value = { searchtext }
168
- options = { items }
168
+ options = { items }
169
+ style = { { width : "100%" } }
169
170
onChange = { ( value : string , option ) => {
170
171
props . valueInItems . onChange ( false ) ;
171
172
setvalidateState ( textInputValidate ( getTextInputValidate ( ) ) ) ;
172
173
setsearchtext ( value ) ;
173
174
props . value . onChange ( value ) ;
174
175
props . onEvent ( "change" )
175
- } }
176
+ } }
176
177
onFocus = { ( ) => {
177
- setActivationFlag ( true )
178
+ setActivationFlag ( true )
178
179
props . onEvent ( "focus" )
179
180
} }
180
181
onBlur = { ( ) => props . onEvent ( "blur" ) }
@@ -275,8 +276,8 @@ let AutoCompleteCompBase = (function () {
275
276
</ ConfigProvider >
276
277
</ >
277
278
) ,
278
- style : props . style ,
279
- ...validateState ,
279
+ // style: props.style,
280
+ // ...validateState,
280
281
} ) ;
281
282
} )
282
283
. setPropertyViewFn ( ( children ) => {
You can’t perform that action at this time.
0 commit comments