Code Monkey home page Code Monkey logo

Comments (12)

DragoQCC avatar DragoQCC commented on August 18, 2024 2

I just wanted to say this issue was super helpful. I was injecting a DialogServs the IDialogService, and as soon as I put it into the IDialogService, it worked just fine.

from mudblazor.extensions.

Gopichandar avatar Gopichandar commented on August 18, 2024 1

MudBlazorExt_Issue.zip

from mudblazor.extensions.

Gopichandar avatar Gopichandar commented on August 18, 2024 1

Hi @fgilde , can you check if you can see the attached zip?

from mudblazor.extensions.

fgilde avatar fgilde commented on August 18, 2024 1

Ok bug is fixed in 1.7.80 MudBlazor.Extensions 1.7.80 Nuget

from mudblazor.extensions.

fgilde avatar fgilde commented on August 18, 2024

Can you create and attach a sample solution containming this problem?

from mudblazor.extensions.

Gopichandar avatar Gopichandar commented on August 18, 2024

Attacched the sample sln for reference @fgilde

MudBlazorExt_Issue.zip

from mudblazor.extensions.

Gopichandar avatar Gopichandar commented on August 18, 2024

Also tried disabling the prerendering still issue exists.

from mudblazor.extensions.

fgilde avatar fgilde commented on August 18, 2024

Where do you attached a sample? Didn't see it. one info. Ensure that you inject IDialogService not DialogService.

from mudblazor.extensions.

fgilde avatar fgilde commented on August 18, 2024

Yes thank you

from mudblazor.extensions.

fgilde avatar fgilde commented on August 18, 2024

Ok I'll work on it. It's strange i I dont know why its working with .net6 or 7 but anyway. You can currently workaround it if you want with manually by passing the IJSRuntime like this

   [Inject]
   public IDialogService _dialogService { get; set; }

   [Inject]
   IJSRuntime JS { get; set; }

   private async Task OpenDialog()
   {
       DialogOptionsEx options = new DialogOptionsEx() {JsRuntime = JS};
       var dialog = await _dialogService.ShowEx<MyMudDialog>("Your Dialog Title", options);
   }

from mudblazor.extensions.

Gopichandar avatar Gopichandar commented on August 18, 2024

from mudblazor.extensions.

fgilde avatar fgilde commented on August 18, 2024

I'm very happy to hear that

from mudblazor.extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.