Skip to content

Using the .net7 feature bind-Value:after in a razor child component

Notifications You must be signed in to change notification settings

paulpitchford/BindAfterDemoChildComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bind After Demo

This is a demo of the use of the .net7 feature for binding: bind-Value:after. If you use an EventCallback parameter in the child component as at VS 17.4.4 you will receive an error from the compiler stating:

Can't convert from EventCallback to Func<T,Task>

The bug was originally reported at: dotnet/aspnetcore#44957

Other work arounds can be found here: https://github.com/javiercn/BindGetSetAfter701/blob/main/BindGetSetAfter701/Client/Pages/Index.razor?rgh-link-date=2022-12-14T11%3A45%3A43Z

About

Using the .net7 feature bind-Value:after in a razor child component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published