Closed astecenko closed 5 years ago
With preview 6, ref
is now @ref
:
<SimpleTextBox @ref="test11" />
Hi,
I have the same problem.
I try to add a EditForm with a custom css class, adding the class attribute as a parameter in the component: <EditForm class="test" MOdel="@model" ... >
When I go to the page with the component, I get the following error:
InvalidOperationException: Object of type 'Microsoft.AspNetCore.Components.Forms.EditForm' does not have a property matching the name 'class'.
Am I doing something wrong?
Thanks!
@accessibites You must be using an older version of Blazor. Try updating to preview 8 or later.
Blazor Server Side Using this version of ASP.NET Core 3.0.100-preview6-012264 Using nuget.config from https://github.com/dotnet/core-sdk
Create default blazor server side project Create simple component at SimpleTextBox.razor :
Add to default Counter.razor
After Run and go to Counter page I see:
WAIDW