Automatically add jquery date picker to all fields [DataType (DataType.Date)]

I use [DataType(DataType.Date)] for properties in our models.

How can I make Razor add the css datepicker class to all text fields belonging to the DataType.Date properties? (so that I can add date pickers using jquery when loading a document)

+4
source share

Source: https://habr.com/ru/post/1340597/


All Articles