Date picker in razor view with restriction
|Added at||2017-01-02 12:01|
Hello supposing i have a model with a field like this: (mvc5)
In the razor view (3.0) i use the Html helper to show a date picker field, like this:
On the input on the html i will have something like this:
And the image of the picker of date:
It works fine.
But let's suppose i want to restrict the date the user can select to only dates that are equal or more than the actual date. What is the way i could do that?