fix: ManualPaymentDialog — remove hardcoded 56M, enable Amount field
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m44s
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m44s
- Default amount set to 0 (admin must enter) - Amount field now editable with Required validation
This commit is contained in:
@@ -18,7 +18,9 @@
|
|||||||
Variant="Variant.Outlined"
|
Variant="Variant.Outlined"
|
||||||
Adornment="Adornment.End"
|
Adornment="Adornment.End"
|
||||||
AdornmentText="تومان"
|
AdornmentText="تومان"
|
||||||
Disabled="true"
|
Required="true"
|
||||||
|
RequiredError="مبلغ الزامی است"
|
||||||
|
Min="1"
|
||||||
@bind-Value="_createModel.Amount" />
|
@bind-Value="_createModel.Amount" />
|
||||||
|
|
||||||
<MudSelect T="int"
|
<MudSelect T="int"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ public partial class ManualPaymentDialog
|
|||||||
[Parameter] public ManualPaymentModel? Model { get; set; }
|
[Parameter] public ManualPaymentModel? Model { get; set; }
|
||||||
|
|
||||||
private ManualPaymentModel _createModel = new(){
|
private ManualPaymentModel _createModel = new(){
|
||||||
Amount = 56000000,
|
Amount = 0,
|
||||||
};
|
};
|
||||||
private string? _adminNote;
|
private string? _adminNote;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user