Added datepicker for fields with date type.