File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/views/webview-app/components/connect-form/ssl-tab Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import SSL_METHODS, {
10
10
SSLMethodOptions
11
11
} from '../../../connection-model/constants/ssl-methods' ;
12
12
import FormGroup from '../../form/form-group' ;
13
- import FormItemSelect from '../../form/form-item-select ' ;
13
+ import RadioBoxGroup from '../../form/radio-box-group/radio-box-group ' ;
14
14
import SSLServerValidation from './ssl-server-validation' ;
15
15
import SSLServerClientValidation from './ssl-server-client-validation' ;
16
16
@@ -53,13 +53,14 @@ class SSLTab extends React.Component<StateProps & DispatchProps> {
53
53
54
54
return (
55
55
< FormGroup id = "sslMethod" separator >
56
- < FormItemSelect
56
+ < RadioBoxGroup
57
57
label = "SSL"
58
58
name = "sslMethod"
59
- options = { SSLMethodOptions . map ( ( methodOption ) => ( {
60
- [ `${ methodOption . id } ` ] : methodOption . title
59
+ options = { SSLMethodOptions . map ( ( sslMethodOption ) => ( {
60
+ label : sslMethodOption . title ,
61
+ value : sslMethodOption . id
61
62
} ) ) }
62
- changeHandler = { this . onSSLMethodChanged }
63
+ onChange = { this . onSSLMethodChanged }
63
64
value = { sslMethod }
64
65
/>
65
66
{ this . renderSSLMethod ( ) }
You can’t perform that action at this time.
0 commit comments