Fix Monero withdraw form reset after successful withdrawal.

Use resetFields so validation state clears without re-triggering required rules on an empty address.
This commit is contained in:
2026-09-07 02:08:22 +02:00
parent de52534271
commit 2d8a508898
+2 -3
View File
@@ -263,8 +263,7 @@ const onWithdrawSubmit = async (): Promise<void> => {
});
}
withdrawForm.destinationAddress = '';
withdrawFormRef.value?.clearValidate();
withdrawFormRef.value?.resetFields();
await loadWalletStatus();
} catch (error) {
@@ -277,7 +276,7 @@ const onWithdrawSubmit = async (): Promise<void> => {
const onRevealSeedClick = async (): Promise<void> => {
try {
await ElMessageBox.confirm(
'The recovery seed grants full control over this shop wallet. Store it offline. Never share it or enter it on untrusted sites.',
'The recovery seed grants full control over this shop wallet. Store it offline. Never share it with anyone.',
'Reveal recovery seed?',
{
confirmButtonText: 'I understand',