Example of DatepickerFor in ASP.NET Core DatePicker Control
Click/Touch the submit button to post the selected value in the DatePicker. When posting the null value, validation error message will be shown below the DatePicker.
DEMO
SOURCE
Click the submit button to post the selected value in the DatePicker. When posting the null value, validation error message will be shown below the DatePicker.
More information on the DatePicker instantiation can be found in the Documentation section.