More input validation

This commit is contained in:
2023-03-11 16:35:37 +01:00
parent b887e0ffe3
commit 11744a3d87
3 changed files with 33 additions and 6 deletions

View File

@ -251,7 +251,8 @@ namespace WGneu.Helpers {
}
public static ValidationResult CheckUstId(TextBox input, bool optional) {
return new(false, "Not implemented yet");
// TODO
return new(true, "Not implemented yet");
}
public static ValidationResult CheckMgNr(TextBox input, bool optional, AppDbContext ctx, Member m) {
@ -282,5 +283,15 @@ namespace WGneu.Helpers {
return new(true, null);
}
public static ValidationResult CheckDate(TextBox input, bool optional) {
// TODO
return new(true, "Not implemented yet");
}
public static ValidationResult CheckPartialDate(TextBox input, bool optional) {
// TODO
return new(true, "Not implemented yet");
}
}
}