Print this page

Date Picker for Visualforce Input tag of type DATE does not work in IE and Firefox but works in Chrome

Knowledge Article Number 000206142
Description If you are using <apex:input> VF tag of type DATE, you may notice that the date picker will not work in IE and Firefox . It only works in Chrome.

REASON: 
apex:input supports newer HTML5 input types but not all browsers support date type of input element to provide date-picking UI. Even the latest Firefox doesn't support it, and shows usual text input field instead of date-picker.

 
Resolution An Alternate Solution to use Date Picker is to use <Apex:inputField> instead of <Apex:input>. But this only works with Standard /Custom Object Fields and does not work for Controller properties.




promote demote