/Sitegeist.InspectorGadget

Edit value objects in the inspector

Primary LanguageJavaScriptMIT LicenseMIT

Sitegeist.InspectorGadget

This package provides the Neos inspector with a gadget plugin to properly handle value objects. This is aimed at more complex node type properties like postal addresses, that need combined validation and otherwise tend to clutter the inspector with all their input fields. Instead, they are rendered as a preview button and edited in an overlay using a react form component. It also supports collection types to manage multiple values in a single property.

Screenshot of the inspector
The inspector with a PostalAddress value object and a collection of OpeningHoursSpecification value objects

Screenshot of the overlay The form to edit a PostalAddress value object in an overlay

Installation

composer require sitegeist/inspectorgadget

Documentation

  1. Using value objects in your NodeType
  2. Using collection types in your NodeType

LICENSE

see LICENSE