Fix EditProspectDialog: update NumericEdit to handle nullable Foodsharing-ID

This commit is contained in:
troogs
2026-05-10 19:40:00 +02:00
parent 78135a9f6d
commit c702e8dbd5

View File

@@ -11,7 +11,7 @@
<div class="col"> <div class="col">
<Field> <Field>
<FieldLabel>Foodsharing-ID</FieldLabel> <FieldLabel>Foodsharing-ID</FieldLabel>
<NumericEdit TValue="int" @bind-Value="Prospect.FsId"></NumericEdit> <NumericEdit TValue="int?" Value="Prospect.FsId" ValueChanged="@((int? v) => Prospect.FsId = v ?? 0)"></NumericEdit>
</Field> </Field>
</div> </div>
</div> </div>