I’m wondering how to insert a <input type="date"/> for datetime attributes of my model.
As for now Razor creates a plain input element with type="datetime". I want to make use of the new input types of HTML5.
I’m wondering how to insert a <input type=date/> for datetime attributes of my model.
Share
I managed to do it by using the following code.