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?.resetFields();
withdrawFormRef.value?.clearValidate();
await loadWalletStatus(); await loadWalletStatus();
} catch (error) { } catch (error) {
@@ -277,7 +276,7 @@ const onWithdrawSubmit = async (): Promise<void> => {
const onRevealSeedClick = async (): Promise<void> => { const onRevealSeedClick = async (): Promise<void> => {
try { try {
await ElMessageBox.confirm( 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?', 'Reveal recovery seed?',
{ {
confirmButtonText: 'I understand', confirmButtonText: 'I understand',