fix: show placeholder password when editing asset

This commit is contained in:
2026-04-19 22:55:21 +08:00
parent ca427c7aac
commit 35e37a8142
2 changed files with 3 additions and 11 deletions
@@ -62,14 +62,6 @@ const AccountTypeForm: React.FC<AccountTypeFormProps> = ({
onViewSecret()
}
}
},
onChange: (e) => {
let val = e.target.value;
if (val.startsWith("******")) {
val = val.substring(6);
formRef?.current?.setFieldValue('password', val);
setDecrypted(true);
}
}
}}
/>