dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.36k stars 9.99k forks source link

Example of <ValidationMessage /> Inside Component #20622

Closed loganmarshall1 closed 4 years ago

loganmarshall1 commented 4 years ago

Hi Team,

Hope you're all safe, well and avoiding crazy chaos! :)

Need a blazor example of the following Trying to place ValidationMessage For="@(() => SomeModel.SomeValue)" Inside another Component.

Call this one MyInput, its a child inside a EditForm Model=SomeModel on Page1

on Page1 I want to call MyInput param1, 2, etc but not sure how to pass a @(() => SomeModel.SomeValue) as a parameter into MyInput

Looking to get an example of how to do this? Please let me know if this doesn't make sense :)

ghost commented 4 years ago

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog clean. If you believe there is a concern related to the ASP.NET Core framework, which hasn't been addressed yet, please file a new issue.

This issue will be locked after 30 more days of inactivity. If you still wish to discuss this subject after then, please create a new issue!