c# - How to set DateTime field as not required? -


i have entity datetime property not required. when form submitted validation fails if feld left blank. have set

clientvalidationenabled = false 

but validation still fails.

you need set field nullable.

the clientvalidationenabled related using javascript validate fields.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

linux - phpmyadmin, neginx error.log - Check group www-data has read access and open_basedir -