1176 Views
In Razor Pages, the input tag helper renders an appropriate value for the type attribute based on the data type of the model property specified via the asp-for attribute. [ BindProperty ] public DateTime DateTime { get ; set ; } DateTime: The default input type generated for DateTime properties is datetime-local in .NET Core 2.0 onwards, which is when Razor Pages was introduced.
0 comments