hide datepicker on mobile and datefield type="date"