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
Sandip458Sandip458 

Calendar is not rendering...

Hello All,

 

I am using date field in VF page like below

 

   <apex:inputfield id="dt" value="{!User.Expires_On__c}" rendered="{!RenderAffiliation}" style="dateFormat"  />      

 

In above statement I am rendering this field based on certion condition bt because of the

 

render attribute calendar is not populating  bt if I remove the render attribute it works fine.

 

I am not able to find what mistake I am making ... 

 

Please guide me If any one have solution...

 

Thanks ,

Sandip

 

Cool_DevloperCool_Devloper

Hi,

 

This is a known bug that calender does not display in some cases when Ajax rendering/re-rendering happens on a page.

 

The workaround for this is, you can create another input field of type date, dont give the render attribute and just keep it hidden on the page. Then the calender would appear.

 

CoOl_D