Skip to content

Commit fe14836

Browse files
[Uptime] [Synthetics Integration] update tls passphrase and http password field to use EuiFieldPassword (#100162) (#100194)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
1 parent acefcfa commit fe14836

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

x-pack/plugins/uptime/public/components/fleet_package/http_advanced_fields.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
EuiDescribedFormGroup,
1818
EuiCheckbox,
1919
EuiSpacer,
20+
EuiFieldPassword,
2021
} from '@elastic/eui';
2122

2223
import { useHTTPAdvancedFieldsContext } from './contexts';
@@ -110,7 +111,7 @@ export const HTTPAdvancedFields = memo<Props>(({ validate }) => {
110111
/>
111112
}
112113
>
113-
<EuiFieldText
114+
<EuiFieldPassword
114115
value={fields[ConfigKeys.PASSWORD]}
115116
onChange={(event) =>
116117
handleInputChange({

x-pack/plugins/uptime/public/components/fleet_package/tls_fields.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ import {
1313
EuiComboBox,
1414
EuiComboBoxOptionOption,
1515
EuiFormRow,
16-
EuiFieldText,
1716
EuiTextArea,
1817
EuiFormFieldset,
1918
EuiSelect,
2019
EuiScreenReaderOnly,
2120
EuiSpacer,
21+
EuiFieldPassword,
2222
} from '@elastic/eui';
2323

2424
import { useTLSFieldsContext } from './contexts';
@@ -333,7 +333,7 @@ export const TLSFields: React.FunctionComponent<{
333333
}
334334
labelAppend={<OptionalLabel />}
335335
>
336-
<EuiFieldText
336+
<EuiFieldPassword
337337
value={fields[ConfigKeys.TLS_KEY_PASSPHRASE].value}
338338
onChange={(event) => {
339339
const value = event.target.value;

0 commit comments

Comments
 (0)