DeliveryAdminWindow: Force user to input gerebelt gewogen input
All checks were successful
Test / Run tests (push) Successful in 2m2s

This commit is contained in:
2024-07-26 19:47:47 +02:00
parent f09753ccc2
commit 935b31f6e3
5 changed files with 39 additions and 23 deletions

View File

@ -116,7 +116,11 @@ namespace Elwig.ViewModels {
[ObservableProperty]
private bool _isManualWeighing;
[ObservableProperty]
private bool _isNetWeight;
private bool? _isNetWeightValue = false;
public bool IsNetWeight {
get => IsNetWeightValue ?? false;
set => IsNetWeightValue = value;
}
[ObservableProperty]
private WineOrigin? _wineOrigin;