mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Fix Pay Button steps and range validation
There were numerous issues around different button types and the amount range validation. Also fixes #2503
This commit is contained in:
@@ -21,7 +21,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
// Slider properties (ButtonType = 2)
|
||||
public decimal Min { get; set; }
|
||||
public decimal Max { get; set; }
|
||||
public decimal Step { get; set; }
|
||||
public string Step { get; set; }
|
||||
|
||||
// Custom Amount properties (ButtonType = 1)
|
||||
public bool SimpleInput { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user