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:
Kukks
2021-05-05 11:27:02 +02:00
parent 86092fc955
commit 200e8330d8
4 changed files with 29 additions and 13 deletions

View File

@@ -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; }