title: How to disable keyboard input in primefaces calendar
body: <p>How to disable keyboard input in primefaces calendar?</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;p:calendar id="regDate"  value="#{pc_Program.pendingRep.regDate}" 
  
  pattern="dd/MM/yyyy" tabindex="3" navigator="true"
  
  required="true" maxdate="a"                         
  
  requiredMessage="Please Select Date Of Registration"&gt;                       
  
  &lt;p:ajax event="keyup" update="errcalender" /&gt;                       
  
  &lt;p:ajax event="dateSelect" update="errcalender" /&gt;                          
  
  &lt;p:ajax event="blur" update="errcalender"&gt;&lt;/p:ajax&gt;                         
  
  &lt;p:ajax listener="#{pc_Program.addBtnEnble}"                            
  
  update="addButton" /&gt;&lt;/p:calendar&gt; 
  
  
  &lt;p:message id="errcalender" for="regDate" display="text"&gt;&lt;/p:message&gt;
  </code></pre>