title: Clear Date Selection using Primefaces Calendar
body: <p>Is there any way to clear the date selection using prime faces calendar?</p>
  
  <pre><code>&lt;p:calendar pattern="MM/dd/yyyy" navigator="true" id="endDate" for="endDate"
  readonlyInput="true" mindate="#{manageMarketingProgramsBean.currentDate}" showOn="button"&gt;
  &lt;f:convertDateTime pattern="MM/dd/yyyy" timeZone="America/New_York" /&gt;
  &lt;/p:calendar&gt;
  </code></pre>
  
  <p>I have readonlyInput="true" because I dont want user to type the date. I force them to pick the date from the calendar, there needs to be another way to provide user the ability to clear the date selected. Please let me know how can I achieve this?</p>