Megabit/Blazorise

[Bug]: Sample /tests/datagrid/columns Fails with error DataGridDateColumn does not have a property matching the name 'DateDisplayFormat'.

Closed this issue · 1 comments

Blazorise Version

1.7

What Blazorise provider are you running on?

Bootstrap5

Link to minimal reproduction or a simple code snippet

Run Sample /tests/datagrid/columns

Steps to reproduce & bug description

Run Sample /tests/datagrid/columns

What is expected?

see some page with a datagrid

What is actually happening?

Error
System.InvalidOperationException: Object of type 'Blazorise.DataGrid.DataGridDateColumn1[[Blazorise.Shared.Models.Employee, Blazorise.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' does not have a property matching the name 'DateDisplayFormat'. at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.ThrowForUnknownIncomingParameterName(Type targetType, String parameterName) at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.SetProperties(ParameterView& parameters, Object target) at Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(ParameterView parameters) at Blazorise.DataGrid.DataGridColumn1.<>n__0(ParameterView parameters)
at Blazorise.DataGrid.DataGridColumn`1.SetParametersAsync(ParameterView parameters) in C:\Users\brauerj\Source\repos\Blazorise\Source\Extensions\Blazorise.DataGrid\DataGridColumn.cs:line 144
Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost: Error: Unhandled exception in circuit 'm0pDGflI_mzguB_ssjvhU0Pc5UvMuUmtNCn3TN4Ft0c'.

What browsers do you see the problem on?

Microsoft Edge

Any additional comments?

No response

It is fixed now. Thanks for letting us know.