function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

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}" />
In chrome I get a datepicker gadget, but not in firefox. Is there any way to get the picker on firefox as well?


User-added image

User-added image

Hi Alon,

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

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:

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