Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28729

Keep default validator when a custom validator is added in edit/creation form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.10
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Web UI

      Description

      If a validate method is added to the creation element by following this documentation https://doc.nuxeo.com/nxdoc/how-to-validate-content/ then the required fields are not validated any more.

      Would it be possible to keep the default validations when a custom one is added on another field?

      Steps to reproduce

      • Create a custom layout
      • Add a custom validate method in it
        => check that native validation is still called

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: