diff --git a/src/views/webview-app/components/connect-form/ssl-tab/ssl-tab.tsx b/src/views/webview-app/components/connect-form/ssl-tab/ssl-tab.tsx index bc474a367..769a390ff 100644 --- a/src/views/webview-app/components/connect-form/ssl-tab/ssl-tab.tsx +++ b/src/views/webview-app/components/connect-form/ssl-tab/ssl-tab.tsx @@ -10,7 +10,7 @@ import SSL_METHODS, { SSLMethodOptions } from '../../../connection-model/constants/ssl-methods'; import FormGroup from '../../form/form-group'; -import FormItemSelect from '../../form/form-item-select'; +import RadioBoxGroup from '../../form/radio-box-group/radio-box-group'; import SSLServerValidation from './ssl-server-validation'; import SSLServerClientValidation from './ssl-server-client-validation'; @@ -53,13 +53,14 @@ class SSLTab extends React.Component { return ( - ({ - [`${methodOption.id}`]: methodOption.title + options={SSLMethodOptions.map((sslMethodOption) => ({ + label: sslMethodOption.title, + value: sslMethodOption.id }))} - changeHandler={this.onSSLMethodChanged} + onChange={this.onSSLMethodChanged} value={sslMethod} /> {this.renderSSLMethod()}