Skip to content

Commit

Permalink
[Actions] Swimlane: Change API Token field to a password textfield (#…
Browse files Browse the repository at this point in the history
…105475) (#105554)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
cnasikas and kibanamachine authored Jul 14, 2021
1 parent 99fc6ef commit 325493c
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { EuiCallOut, EuiFieldText, EuiFormRow, EuiLink, EuiSpacer, EuiText } from '@elastic/eui';
import {
EuiCallOut,
EuiFieldText,
EuiFormRow,
EuiLink,
EuiSpacer,
EuiText,
EuiFieldPassword,
} from '@elastic/eui';
import React, { useCallback } from 'react';
import { FormattedMessage } from '@kbn/i18n/react';
import * as i18n from '../translations';
Expand Down Expand Up @@ -141,7 +149,7 @@ const SwimlaneConnectionComponent: React.FunctionComponent<Props> = ({
<EuiSpacer size="m" />
</>
)}
<EuiFieldText
<EuiFieldPassword
fullWidth
isInvalid={isApiTokenInvalid}
readOnly={readOnly}
Expand Down

0 comments on commit 325493c

Please sign in to comment.