+ Start a Discussion
balraj singh 33balraj singh 33 

date field does not show on VF page

<div class="slds-size--1-of-1 slds-grid slds-wrap">
                                        <div class="slds-col--padded slds-size--1-of-2  slds-m-top--small">
                                            <span class="colorRed">* </span><label class="slds-form-element__label" for="GUTOA">Update Date</label>
                                            <div class="slds-form-element__control slds-input-has-icon">
                                                <apex:inputtext value="{!ifUpDate}" html-data-rule-required="true" id="ifUpDate" styleClass="slds-input ifUpDate"/>
                                                <apex:image id="calendarImgUp" styleClass="absolute-calendar" value="{!$Resource.calendar_icon}" height="25px" width="27px" onmouseover="fnInitCalendar(this, '{!$Component.ifUpDate}', 'close=true')" />
                                            </div>
                                        </div>
 
Raj VakatiRaj Vakati
Change as below 

 
<div class="slds-size--1-of-1 slds-grid slds-wrap">
                                        <div class="slds-col--padded slds-size--1-of-2  slds-m-top--small">
                                            <span class="colorRed">* </span><label class="slds-form-element__label" for="GUTOA">Update Date</label>
                                            <div class="slds-form-element__control slds-input-has-icon">
                                                <apex:input type="date" value="{!ifUpDate}" html-data-rule-required="true" id="ifUpDate" styleClass="slds-input ifUpDate"/>
                                                <apex:image id="calendarImgUp" styleClass="absolute-calendar" value="{!$Resource.calendar_icon}" height="25px" width="27px" onmouseover="fnInitCalendar(this, '{!$Component.ifUpDate}', 'close=true')" />
                                            </div>
                                        </div>

 
balraj singh 33balraj singh 33
@Raj as specific reason why my code is not working .
I have the same logic for other date file and it is wroking