I have a datepicker field and it is conditional (show/hide based on another checkbox). But after hiding the field my email field become readonly and if I click on that field, it always open the calendar. That means after hiding datepicker field, another field is working as like datepicker.