FieldLabel,
TextField,
SubmitIndicator,
- ErrorBanner
+ ErrorBanner,
+ PasswordField
} from 'features/shared/components'
import {DropdownButton, MenuItem} from 'react-bootstrap'
import {reduxForm} from 'redux-form'
{(actions.length > 0 || this.state.showAdvanced) && <FormSection>
<label className={styles.title}>{lang === 'zh' ? '密码' : 'Password'}</label>
- <TextField placeholder={lang === 'zh' ? '请输入密码' : 'Please enter the password'} fieldProps={password}
- autoFocus={false} type={'password'}/>
+ <PasswordField
+ placeholder={lang === 'zh' ? '请输入密码' : 'Please enter the password'}
+ fieldProps={password}
+ />
</FormSection>}
<FormSection className={styles.submitSection}>
AmountUnitField,
AmountInputMask,
ErrorBanner,
- SubmitIndicator
+ SubmitIndicator,
+ PasswordField
} from 'features/shared/components'
import {chainClient} from 'utility/environment'
import {reduxForm} from 'redux-form'
</table>
<label className={styles.title}>{lang === 'zh' ? '密码' : 'Password'}</label>
- <TextField placeholder={lang === 'zh' ? '请输入密码' : 'Please enter the password'} fieldProps={password}
- autoFocus={false} type={'password'}/>
+ <PasswordField
+ placeholder={lang === 'zh' ? '请输入密码' : 'Please enter the password'}
+ fieldProps={password}
+ />
</FormSection>
<FormSection className={styles.submitSection}>