title: Why is the datepicker not recognizing wrong format?
body: <p>I have a datepicker that was created with the following code snippet:</p>
  
  <pre class="lang-js prettyprint-override"><code>return new sap.m.DatePicker(sId, {
      dateValue: `{${sPath}}`,
      valueFormat: "dd-MM-yyyy",
      displayFormat: "dd-MM-yyyy"
  });
  </code></pre>
  
  <p>Typing wrong weird stuff into the field:<br>
  <a href="https://i.stack.imgur.com/7RHjr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7RHjr.png" alt="enter image description here"></a><br>
  It does not recognize the invalid format.</p>
  
  <p>But when I tried to write in <a href="https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.DatePicker/preview" rel="nofollow noreferrer">this example</a>, it does recognize.<br>
  <a href="https://i.stack.imgur.com/CggrM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CggrM.png" alt="enter image description here"></a></p>
  
  <p>What am I doing wrong?</p>