You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<inputtype="number" bind="${MyNumber}">
The value is ${MyNumber}
This fails without an error when trying to display, and with the following stack trace when setting from hot reload:
blazor.webassembly.js:1 Uncaught (in promise) Error: System.InvalidCastException: Specified cast is not valid.
at Microsoft.JSInterop.DotNetDispatcher.InvokeSynchronously (System.String assemblyName, System.String methodIdentifier, System.Object targetInstance, System.String argsJson) <0x250dca8 + 0x001bc> in <af36ed9192be4a95b907125ccf0c1e59>:0
at Microsoft.JSInterop.DotNetDispatcher.BeginInvoke (System.String callId, System.String assemblyName, System.String methodIdentifier, System.Int64 dotNetObjectId, System.String argsJson) <0x261b980 + 0x00088> in <af36ed9192be4a95b907125ccf0c1e59>:0
at endInvokeDotNetFromJS (blazor.webassembly.js:1)
at Object.invokeJSFromDotNet (blazor.webassembly.js:1)
at _mono_wasm_invoke_js_marshalled (mono.js:1)
at wasm-function[1450]:935
at wasm-function[762]:25085
at wasm-function[762]:23853
at wasm-function[762]:23853
at wasm-function[762]:23853
at wasm-function[762]:24468
at wasm-function[762]:24468
The text was updated successfully, but these errors were encountered:
Example:
This fails without an error when trying to display, and with the following stack trace when setting from hot reload:
The text was updated successfully, but these errors were encountered: