mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Datetime picker and small edit UI changes (#647)
* do not allow negative amounts for crowdfund and payment requests * remove currency placeholder in payment requests * Improve date picker ui Clear button only appears when a value is set. If no value is set, display a placeholder indicating it. closes #625
This commit is contained in:
committed by
Nicolas Dorier
parent
4b342376a8
commit
0c0809101d
@@ -48,7 +48,7 @@ namespace BTCPayServer.Models.PaymentRequestViewModels
|
||||
|
||||
public string Id { get; set; }
|
||||
[Required] public string StoreId { get; set; }
|
||||
[Required] public decimal Amount { get; set; }
|
||||
[Required][Range(0, double.PositiveInfinity)]public decimal Amount { get; set; }
|
||||
|
||||
[Display(Name = "The currency used for payment request. (e.g. BTC, LTC, USD, etc.)")]
|
||||
public string Currency { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user