Comments (3)
This is strange should work in general. Important is that an IJSRuntime is injectable.
Is your Project a webassembly one or server side rendered?
And works your ConfirmationDialog with the default DialogService.Show ?
However I published a new version 1.2.2 and then you can specifify the IJSRuntime as Property in DialogOptionsEx manually. Is not the best solution but until I found and fix the real bug it should work (I hope)
var optionsEx = new DialogOptionsEx
{
JsRuntime = YourInjectedJSRuntime
CloseButton = true,
Resizeable = true,
FullWidth = true,
DragMode = MudDialogDragMode.Simple,
};```
from mudblazor.extensions.
I use serverside.
IJSRuntime is injectable.
DialogService.Show works correctly with the same parameters
var optionsEx = new DialogOptionsEx { JsRuntime = YourInjectedJSRuntime, CloseButton = true, Resizeable = true, FullWidth = true, DragMode = MudDialogDragMode.Simple, };
updated and applied this fixed the original bug, however a new one appeared
from mudblazor.extensions.
Everything works correctly if I define all available properties that can be null
from mudblazor.extensions.
Related Issues (20)
- [Bug]: dialog flashes in middle of screen and reappears with animation HOT 2
- [Bug]: ReflectionTypeLoadException with Mudblazor 6.17.0 HOT 3
- [Bug]: Unable to add spaces in filter bar of MudExSelect HOT 5
- [Bug]: Required and Required Error in MudExSelect
- Create MudExGrid as dockingcontrol like gridstack.js
- Create speechtotext button
- MudExDialog Position and Size properties HOT 2
- Having ScrollSpy would be nice HOT 2
- Dialog cancel event handler - cancable event HOT 1
- File Upload Issue in MudExObjectEditDialog HOT 1
- [Bug]: Unable to reproduce MudExFileDisplayZip example HOT 2
- [Bug]: ReflectionTypeLoadException with Mudblazor 7.0.0 HOT 2
- [Bug]: Value cannot be null. (Parameter 'jsRuntime') HOT 2
- [Bug]: Unable to load one or more of the requested types HOT 2
- [Bug]: MudExDialogService.ShowFileDisplayDialog error/unexpected behaviour on specific data types HOT 20
- [Bug]: Clicking backdrop when 'BackdropClick = false' still closes dialog HOT 3
- [Bug]: MudExDialogService does not implement new HOT 5
- Support for other browsers than Chrome (and without add-ins)? HOT 1
- [Bug]: SixLabors.ImageSharp minimum package version upgrade due to security vulnerability HOT 3
- Code Editor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mudblazor.extensions.