File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
browser/components/redisearch-key-list
components/sentinel-connection/sentinel-connection-form Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 170
170
}
171
171
}
172
172
}
173
+
174
+ .select {
175
+ width : 350px ;
176
+ position : absolute ;
177
+ z-index : 1 ;
178
+
179
+ :global {
180
+ .euiFormControlLayout__childrenWrapper {
181
+ width : 200px ;
182
+ position : relative ;
183
+ }
184
+ }
185
+ }
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ const SentinelConnectionForm = (props: Props) => {
72
72
initialValues,
73
73
validate,
74
74
enableReinitialize : true ,
75
+ validateOnMount : true ,
75
76
onSubmit : ( values : any ) => {
76
77
onSubmit ( values )
77
78
} ,
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ export const autoFillFormDetails = (
215
215
}
216
216
217
217
case InstanceType . Sentinel : {
218
- return ( {
218
+ return getFormValues ( {
219
219
host : details . host || initialValues . host || 'localhost' ,
220
220
port : `${ details . port || initialValues . port || 9443 } ` ,
221
221
username : details . username || '' ,
@@ -225,7 +225,7 @@ export const autoFillFormDetails = (
225
225
}
226
226
227
227
case InstanceType . Standalone : {
228
- return ( getFormValues ( {
228
+ return getFormValues ( {
229
229
name : details . hostname || initialValues . name || 'localhost:6379' ,
230
230
host : details . host || initialValues . host || 'localhost' ,
231
231
port : `${ details . port || initialValues . port || 9443 } ` ,
@@ -235,7 +235,7 @@ export const autoFillFormDetails = (
235
235
db : details . dbNumber ,
236
236
ssh : false ,
237
237
sshPassType : SshPassType . Password
238
- } ) )
238
+ } )
239
239
}
240
240
default : {
241
241
return { }
Original file line number Diff line number Diff line change 54
54
}
55
55
56
56
body .euiSuperSelect__listbox {
57
- max-height : 340 px ;
57
+ max-height : 350 px ;
58
58
}
You can’t perform that action at this time.
0 commit comments