'how to view C# modelstate errors in bootstrap modal

hello, I use this template here: https://codewithmukesh.com/blog/razor-page-crud-in-aspnet-core and it's a very great tutorial. But I have a big problem:

How can I View modelstate errors OnPostCreateOrEditAsync ?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source