put back date fields working with date picker on mobile and desktop