sitegeist/inspectorgadget

Edit value objects in the inspector

Installs: 9 518

Dependents: 2

Suggesters: 0

Security: 0

Stars: 12

Watchers: 6

Forks: 4

Open Issues: 5

Language:JavaScript

Type:neos-plugin

v2.0.2 2023-08-23 07:58 UTC

README

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