This commit is contained in:
@@ -304,6 +304,11 @@ public partial class DocumentationDialogViewModel : ObservableObject
|
||||
var valid = true;
|
||||
|
||||
if (CanPickStudent && SelectedStudent is null) { StudentError = "Bezug auswählen."; valid = false; }
|
||||
if (!CanPickStudent && _studentId == Guid.Empty && _contextGroupId is null)
|
||||
{
|
||||
StudentError = "Die Schülerliste ist noch nicht geladen. Dialog schließen und erneut öffnen.";
|
||||
valid = false;
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(Title)) { TitleError = "Titel erforderlich."; valid = false; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user