Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MatBlazor 1.6.1 Microsoft.JSInterop.JSException: iconRef is not defined #199

Closed
gitbugreport opened this issue Aug 19, 2019 · 3 comments
Closed

Comments

@gitbugreport
Copy link

ReferenceError: iconRef is not defined
at Object.e.init (https://localhost:5001/EmbeddedBlazorFile/dist/matBlazor.js:1:680669)
at https://localhost:5001/_framework/blazor.server.js:8:28347
at new Promise ()
at e.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.server.js:8:28316)
at https://localhost:5001/_framework/blazor.server.js:1:19148
at Array.forEach ()
at e.invokeClientMethod (https://localhost:5001/_framework/blazor.server.js:1:19119)
at e.processIncomingData (https://localhost:5001/_framework/blazor.server.js:1:17165)
at e.connection.onreceive (https://localhost:5001/_framework/blazor.server.js:1:10276)
at WebSocket.i.onmessage (https://localhost:5001/_framework/blazor.server.js:1:38027)
at Microsoft.JSInterop.JSRuntimeBase.InvokeWithDefaultCancellation[T](String identifier, IEnumerable`1 args)
at MatBlazor.BaseMatComponent.JsInvokeAsync[T](String code, Object[] args)
warn: Microsoft.AspNetCore.Components.Web.Rendering.RemoteRenderer[100]
Unhandled exception rendering component: iconRef is not defined

@gitbugreport
Copy link
Author

Hmm, it is working after cleaning project and build again.

@SamProf
Copy link
Owner

SamProf commented Aug 20, 2019

This bug was maybe in 1.6.0.
But in 1.6.1 should be fixed.

@SamProf SamProf closed this as completed Aug 20, 2019
@SamProf
Copy link
Owner

SamProf commented Aug 20, 2019

We can add nocache parameter for server side Blazor to avoid this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants