File tree Expand file tree Collapse file tree 2 files changed +21
-17
lines changed
redisinsight/ui/src/pages/home/components/form Expand file tree Collapse file tree 2 files changed +21
-17
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,16 @@ const SSHDetails = (props: Props) => {
5353 align = { ! flexGroupClassName ? 'end' : undefined }
5454 >
5555 < FlexItem style = { { width : '230px' } } className = { flexItemClassName } >
56- < Checkbox
57- id = { id }
58- name = "ssh"
59- label = { < Text > Use SSH Tunnel</ Text > }
60- checked = { ! ! formik . values . ssh }
61- onChange = { formik . handleChange }
62- data-testid = "use-ssh"
63- />
56+ < FormField >
57+ < Checkbox
58+ id = { id }
59+ name = "ssh"
60+ label = { < Text > Use SSH Tunnel</ Text > }
61+ checked = { ! ! formik . values . ssh }
62+ onChange = { formik . handleChange }
63+ data-testid = "use-ssh"
64+ />
65+ </ FormField >
6466 </ FlexItem >
6567 </ Row >
6668
Original file line number Diff line number Diff line change @@ -187,15 +187,17 @@ const TlsDetails = (props: Props) => {
187187 return (
188188 < >
189189 < Row gap = "m" >
190- < FlexItem grow = { 1 } >
191- < Checkbox
192- id = { sslId }
193- name = "tls"
194- label = { < Text > Use TLS</ Text > }
195- checked = { ! ! formik . values . tls }
196- onChange = { formik . handleChange }
197- data-testid = "tls"
198- />
190+ < FlexItem >
191+ < FormField >
192+ < Checkbox
193+ id = { sslId }
194+ name = "tls"
195+ label = { < Text > Use TLS</ Text > }
196+ checked = { ! ! formik . values . tls }
197+ onChange = { formik . handleChange }
198+ data-testid = "tls"
199+ />
200+ </ FormField >
199201 </ FlexItem >
200202 </ Row >
201203
You can’t perform that action at this time.
0 commit comments