This repository was archived by the owner on Dec 26, 2025. It is now read-only.
Replies: 1 comment 1 reply
-
|
.Net 8 Support solution helped this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to Blazor using .Net 8.0 and getting error System.NullReferenceException: 'Object reference not set to an instance of an object.' on Modal.Show.
Instead of using [CascadingParameter] public IModalService Model { get; set; } = default!;, injecting the service @Inject IModalService modal; gets rid of the null reference error but still doesn't show the window. The result from Show method has status "Waiting for Activation".
Beta Was this translation helpful? Give feedback.
All reactions