chore: autocomplete user info
This commit is contained in:
@@ -73,8 +73,8 @@ const SealPassword: React.FC<InputProps & SealFormItemProps & PasswordProps> = (
|
||||
>
|
||||
<Input.Password
|
||||
{...rest}
|
||||
autoComplete={rest.autoComplete || 'off'}
|
||||
ref={inputRef}
|
||||
autoComplete="off"
|
||||
className="seal-input-password"
|
||||
onFocus={handleOnFocus}
|
||||
onBlur={handleOnBlur}
|
||||
|
||||
@@ -93,9 +93,9 @@ const SealInput: React.FC<InputProps & SealFormItemProps> = (props) => {
|
||||
>
|
||||
<Input
|
||||
{...rest}
|
||||
autoComplete={rest.autoComplete || 'off'}
|
||||
placeholder={isFocus || !label ? placeholder : ''}
|
||||
ref={inputRef}
|
||||
autoComplete="off"
|
||||
onInput={handleInput}
|
||||
onFocus={handleOnFocus}
|
||||
onBlur={handleOnBlur}
|
||||
|
||||
Reference in New Issue
Block a user