File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
DotNetElements.AppFramework.MudBlazorExtensions
DotNetElements.AppFramework/Outbox Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1717{
1818 [Parameter ]
1919 public bool SimpleTable { get ; set ; }
20+
21+ // todo check why this has no Width param but in some places we set a Width param
2022}
Original file line number Diff line number Diff line change @@ -84,8 +84,9 @@ public static async Task<bool> ShowConfirmDeleteDialogAsync(this IDialogService
8484 }
8585
8686 // todo add overload with list of error messages
87- public static Task ShowValidationErrorMessage ( this IDialogService dialogService )
87+ // todo improve visualization of error messages
88+ public static Task ShowValidationErrorMessage ( this IDialogService dialogService , string ? errorDetails = null )
8889 {
89- return dialogService . ShowMessageBox ( "Validation Error" , "Please fix all validation errors." ) ;
90+ return dialogService . ShowMessageBox ( "Validation Error" , $ "Please fix all validation errors.\n \n { errorDetails } ") ;
9091 }
9192}
Original file line number Diff line number Diff line change 1+ namespace DotNetElements . AppFramework ;
2+
3+ public interface IOutbox < TDbContext >
4+ where TDbContext : DbContext , IDbSetOutbox
5+ {
6+ void AddMessage < T > ( T message ) ;
7+ }
You can’t perform that action at this time.
0 commit comments