Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: jcrChildNodeProvider (change in image title)

...

A provider strategy can be applied to handle data-read operations in forms with complex field. For example, see the jcrChildNodeProvider in the following definition of a complex field called address , composed of two simple fields, city and country .

Image RemovedImage Added

Code Block
languageyml
linenumberstrue
        address:
          label: address
          i18n: true
          $type: compositeField
          itemProvider:
            $type: jcrChildNodeProvider
          properties:
            city:
              label: city
              $type: textField
            country:
              label: country
              i18n: true
              $type: textField

...