RadzenAppearanceToggle not working in WASM

Hi,

We are in the process of creating app templates. I already created a "Blazor Server & WASM" application and in this application the RadzenAppearanceToggle works as expected. I followed the .NET 8 implementation guide for this. No issues here.

I now have created a "Blazor WebAssembly Standalone App" template. I followed the WebAssembly implemenation guide. In this configuration the RadzenAppearanceToggle does not work. I have verified the implementation multiple times and to be sure I have added a notification component to my app. This works as expected so that makes me think that I have implemented Radzen Blazor correctly.

I use version 5.04.

I have no warnings or errors in the browsers log. I have verified that all required files (css and javascript) have loaded correctly.

Both application templates use the exact same layout and the RadzenAppearanceToggle is part of this layout.

Check this thread: How can I set up material light and dark mode in a MAUI or Blazor standalone app? - #2 by korchev