+ Start a Discussion
AlonAlon 

apex:input not showing date picker in firefox

I have this VF page:
<apex:page controller="page1Cont" docType="html-5.0">
<apex:form >
<apex:input type="date" value="{!myDate}" />
</apex:form>
</apex:page>
In chrome I get a datepicker gadget, but not in firefox. Is there any way to get the picker on firefox as well?

chrome:

User-added image

firefox:
User-added image

harshasfdcharshasfdc
Hi Alon,

I think its a java script issue please use the below link creating a date picker using standard functionality 

http://techsahre.blogspot.in/2011/04/salesforce-native-datepicker-year.html

Thanks,
Harsha
varunsfdcvarunsfdc
Hi Alon,

apex:input component was introduced to support the newer HTML5 input types and as such delegates to the browser on how different types are dealt with. Not all browsers support date types on input elements. Please refer to this link for more information: http://caniuse.com/#feat=input-datetime

P.S: If you are using this with an sObject field, you can use the apex:inputField for cross browser date picker.