Hi,
I am getting JS error when i adding ValidationRules to Grid in Dialog Mode:
ValidationRules="@(new ValidationRules{ Required=true})" HeaderText="@Localizer.GetText("Name")" AutoFit="true" Visible="true" TextAlign="TextAlign.Center" HeaderTextAlign="TextAlign.Center">
Error:
Uncaught (in promise) Error: System.ArgumentException: The call to 'ShowValidationPopup' expects '2' parameters, but received '1'.
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.ParseArguments(JSRuntime jsRuntime, String methodIdentifier, String arguments, Type[] parameterTypes)
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(JSRuntime jsRuntime, DotNetInvocationInfo& callInfo, IDotNetObjectReference objectReference, String argsJson)
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)
at Object.endInvokeDotNetFromJS (blazor.server.js:8)
at e.
(blazor.server.js:8)
at blazor.server.js:1
at Array.forEach ()
at e.invokeClientMethod (blazor.server.js:1)
at e.processIncomingData (blazor.server.js:1)
at e.connection.onreceive (blazor.server.js:1)
at WebSocket.i.onmessage (blazor.server.js:1)-----------------------------------------------------------
File with page in atachment
------------------------------------------------------------
Bug ? or/and some help ?
Thanks !
Attachment:
Roles_b4280153.zip