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
balraj singh 33balraj singh 33 

The inputfield is not displaying calender year it displays only month

The inputfield is not displaying calender year it displays only month :

Code:
<div class="slds-form-element"> <label class="slds-form-element__label" for="DOBID">Date of Birth: </label> <div class="slds-form-element__control"> <apex:inputfield styleClass="slds-input" id="DOBID" value="{!sboject.myfield__c}" taborderhint="32"/> </div> </div>
User-added image
AnudeepAnudeep (Salesforce Developers) 
Hi Balraj,

If you are still experiencing this issue, you can try using 
apex:input with type date

http://​​​​​​​https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_input.htm (http://https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_input.htm)

Or you can look at the example markup for datepicker here: https://www.lightningdesignsystem.com/components/datepickers/

​​​​​​​Anudeep