ErrorBoundary

Hello on my Mainlayout page i'm using the ErrorBoundary component.
This works well for all the page's.

But is there away to do the same for all the page's im opening with the
await DialogService.OpenAsync
service ?
So can i apply a kind of Layout to all these modal page's ?

Regards Bart

Hi @schuttea,

Components used in dialogs do not use layouts. Only routable pages rendered via navigation can have a layout. You can add an ErrorBoundary to the component that you open with DialogService.OpenAsync

Ok thx,
unfortunately i use these components al lot. So to put them on each component is a bit of work :slight_smile:
Regards.