title: How to use constrains property for Input in UI5?
body: <p>I'm trying to restrict the user to enter only numbers.
  Maybe I can do this using regular expression but I don't know the exact syntax.
  I don't want decimal or special characters.</p>
  
  <pre><code>&lt;Input type="Number"
  value="{
      type : 'sap.ui.model.type.Number',
      constraints : {
          minLength: 1,
          maxLength: 15,
          validate: ...
      }
  }" /&gt;
  </code></pre>