mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Fix visual bug when user clicks on "Create refund" without selecting an option (#3624)
* Add missing refund option validation error element * Add missing hidden inputs for text elements * Move validation element above button * Update validation error message
This commit is contained in:
@@ -311,7 +311,7 @@ namespace BTCPayServer.Controllers
|
||||
model.RefundStep = RefundSteps.SelectCustomAmount;
|
||||
return View(model);
|
||||
default:
|
||||
ModelState.AddModelError(nameof(model.SelectedRefundOption), "Invalid choice");
|
||||
ModelState.AddModelError(nameof(model.SelectedRefundOption), "Please select an option before proceeding");
|
||||
return View(model);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user