Component validations

Component validations include field validations for input components. They are applied to each field explicitly based on the field data type and expected content for that field, starting from mandatory field validation to the field length validation to complex field expression validations. The following is an example of component validation using validators and required validators, which trigger validations on-value-changed:

  • HTML:
        <div id="sampleDemo" style=""         class="demo-padding demo-container">          <div id="componentDemoContent" style="width: 1px;           min-width: 100%;">            <div id="validation-usecase"             class="oj-form oj-md-odd-cols-4 oj-md-labels-inline             oj-sm-odd-cols-12">              <div class="oj-flex"> <div class="oj-flex-item"> ...

Get Oracle JET for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.