Why does my alert box render with no background?

1 Answer 99 Views
Dialog
David
Top achievements
Rank 2
Iron
Iron
Veteran
David asked on 16 Feb 2023, 12:23 AM

Here is the code that calls the dialog: 


        catch (Exception ex)
        {
            await Dialogs.AlertAsync(ex.Message, "Error!");
        }

David
Top achievements
Rank 2
Iron
Iron
Veteran
commented on 16 Feb 2023, 06:16 PM

Is this because we upgraded to Blazor UI 4.0.1 and the themebuilder can only build themes for version 3.6.0?

1 Answer, 1 is accepted

Sort by
1
Accepted
David
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 16 Feb 2023, 09:35 PM

What I had to do was go in to the Themebuilder and create a NEW project. This created a theme based on the R1 2023 components. Then I exported my .css and all was good.

What I tried before was opening up my previous project, but that created a theme based on R3 2022. Since that's what that theme was originally built on.

Tags
Dialog
Asked by
David
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
David
Top achievements
Rank 2
Iron
Iron
Veteran
Share this question
or