mirror of
https://github.com/plankanban/planka.git
synced 2025-07-23 23:29:43 +02:00
Add visibility toggle of password input. Closes #2
This commit is contained in:
parent
7a3805e64c
commit
390d96cc19
25 changed files with 111 additions and 92 deletions
|
@ -5,10 +5,11 @@ import React, {
|
|||
import PropTypes from 'prop-types';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Button, Form, Message } from 'semantic-ui-react';
|
||||
import { usePrevious } from '../../lib/hooks';
|
||||
import { withPopup } from '../../lib/popup';
|
||||
import { Input, Popup } from '../../lib/custom-ui';
|
||||
|
||||
import { useForm, usePrevious } from '../../hooks';
|
||||
import { useForm } from '../../hooks';
|
||||
|
||||
import styles from './AddUserPopup.module.css';
|
||||
|
||||
|
@ -120,7 +121,7 @@ const AddUserPopup = React.memo(
|
|||
onChange={handleFieldChange}
|
||||
/>
|
||||
<div className={styles.text}>{t('common.password')}</div>
|
||||
<Input
|
||||
<Input.Password
|
||||
fluid
|
||||
ref={passwordField}
|
||||
name="password"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue