title: how to give the custom message to calendar for required field in Prime-NG
body: <p>how to give the custom message to calendar for required field in Prime-NG.</p>
  
  <p>If the form is submitted we will get the default message as <strong>Please fill out this field</strong> but can we get the custom message for p-calendar.</p>
  
  <p><a href="https://i.stack.imgur.com/BohsA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BohsA.png" alt="enter image description here"></a></p>
  
  <p>I have tried with </p>
  
  <pre><code>&lt;p-calendar [showIcon]="true" required="true" requiredMessage="Please select date."&gt;
  
  &lt;p-calendar [showIcon]="true" required="true "oninvalid="this.setCustomValidity('Please select the Date')"
  oninput="this.setCustomValidity('')"  /&gt;
  </code></pre>
  
  <p>above code works for only input tag not with p-calendar.</p>
  
  <p>How to resolve this issue.</p>