InputHidden autocomplete set off
This commit is contained in:
parent
56734429a7
commit
288de31580
|
|
@ -17,7 +17,7 @@ function InputHidden(props: InputHiddenProps) {
|
|||
|
||||
return (
|
||||
<div className="input-group">
|
||||
<input type={type} placeholder="隐藏信息" {...props} />
|
||||
<input type={type} placeholder="隐藏信息" autoComplete="off" {...props} />
|
||||
{props.suffix && props.suffix}
|
||||
<button className="btn primary" onClick={onSwitchType} title={type === "text" ? "隐藏" : "显示"}>
|
||||
{type === "text" ? <IconEyeClose /> : <IconEye />}
|
||||
|
|
|
|||
Loading…
Reference in New Issue