Relative Content

Tag Archive for c#validationmaui

Displaying validation errors in .net MAUI

I’m using the .net Community Toolkit and MVVM to create simple page with a few form fields. I would like to display validation errors next to each field – e.g. using a Label control that has its visibility set to true if there is an error with the respective field, and the value set to the error message from the ViewModel.