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, {
1010 SSLMethodOptions
1111} from '../../../connection-model/constants/ssl-methods' ;
1212import FormGroup from '../../form/form-group' ;
13- import FormItemSelect from '../../form/form-item-select ' ;
13+ import RadioBoxGroup from '../../form/radio-box-group/radio-box-group ' ;
1414import SSLServerValidation from './ssl-server-validation' ;
1515import SSLServerClientValidation from './ssl-server-client-validation' ;
1616
@@ -53,13 +53,14 @@ class SSLTab extends React.Component<StateProps & DispatchProps> {
5353
5454 return (
5555 < FormGroup id = "sslMethod" separator >
56- < FormItemSelect
56+ < RadioBoxGroup
5757 label = "SSL"
5858 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
6162 } ) ) }
62- changeHandler = { this . onSSLMethodChanged }
63+ onChange = { this . onSSLMethodChanged }
6364 value = { sslMethod }
6465 />
6566 { this . renderSSLMethod ( ) }
You can’t perform that action at this time.
0 commit comments