[Uptime] [Synthetics Integration] update tls passphrase and http password field to use EuiFieldPassword (#100162)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
ea8c92b353
commit
5e410f5d86
|
@ -17,6 +17,7 @@ import {
|
|||
EuiDescribedFormGroup,
|
||||
EuiCheckbox,
|
||||
EuiSpacer,
|
||||
EuiFieldPassword,
|
||||
} from '@elastic/eui';
|
||||
|
||||
import { useHTTPAdvancedFieldsContext } from './contexts';
|
||||
|
@ -110,7 +111,7 @@ export const HTTPAdvancedFields = memo<Props>(({ validate }) => {
|
|||
/>
|
||||
}
|
||||
>
|
||||
<EuiFieldText
|
||||
<EuiFieldPassword
|
||||
value={fields[ConfigKeys.PASSWORD]}
|
||||
onChange={(event) =>
|
||||
handleInputChange({
|
||||
|
|
|
@ -13,12 +13,12 @@ import {
|
|||
EuiComboBox,
|
||||
EuiComboBoxOptionOption,
|
||||
EuiFormRow,
|
||||
EuiFieldText,
|
||||
EuiTextArea,
|
||||
EuiFormFieldset,
|
||||
EuiSelect,
|
||||
EuiScreenReaderOnly,
|
||||
EuiSpacer,
|
||||
EuiFieldPassword,
|
||||
} from '@elastic/eui';
|
||||
|
||||
import { useTLSFieldsContext } from './contexts';
|
||||
|
@ -333,7 +333,7 @@ export const TLSFields: React.FunctionComponent<{
|
|||
}
|
||||
labelAppend={<OptionalLabel />}
|
||||
>
|
||||
<EuiFieldText
|
||||
<EuiFieldPassword
|
||||
value={fields[ConfigKeys.TLS_KEY_PASSPHRASE].value}
|
||||
onChange={(event) => {
|
||||
const value = event.target.value;
|
||||
|
|
Loading…
Reference in a new issue