I have a page that contain inputField with type (date), And I used bootstrap framework css and turned off the standard style sheet.. but the date field appeared without datepicker and i put type="date" to the inputField to display the datepicker, but i got errors in Java script when i click on the field to choose a date.
> Uncaught TypeError: Cannot read property 'addEventListener' of null
> Uncaught TypeError: Cannot read property 'currentStyle' of null
VF page code
<apex:outputPanel layout="block" styleClass="form-group">
<apex:outputLabel styleClass="col-sm-4 control-label">Date</apex:outputLabel>
<apex:outputPanel layout="block" styleClass="col-sm-8">
<apex:inputField id="date"
value="{!holiday.Date__c}"
styleClass="form-control"
type="date" />
</apex:outputPanel>
</apex:outputPanel>