mireo91/repeatablefields

Last activity 15 Apr 2024 14 9978
composer require mireo91/repeatablefields

Neos package for adding repeatables fields to neos-ui react

v2.2.0

Version
v2.2.0
Type
neos-plugin
Release Date
Aug 27, 2023 17:36
Source
git
Distribution
zip
Requires
GPL-3.0-or-later dc7df22516babab9587b1a4e1b871a48a94044cd

RepeatableFields

Neos package for adding repeatables fields to neos-ui react

Demo View

Instalation

composer require mireo91/repeatablefields

Configuration

Create property with type reapeatable.

  ...
  properties:
    repetableProperty:
      type: repeatable
      ui:
        label: 'Repeatable Field Group'
        inspector:
          group: document
          editorOptions:
            buttonAddLabel: 'Add row' #default lable
            max: 100 #default max
            min: 0   #default min
            controls:  #default all set to true
              move: true
              remove: true
              add: true
            properties:
              filed0:
                editorOptions:
                  placeholder: 'default field editor'
              field1:
              	type: Neos\Media\Domain\Model\ImageInterface #type for property mapper
                label: 'Image field'
                editorOptions:
                  placeholder: 'placeholder test'
              field2:
                editor: 'Neos.Neos/Inspector/Editors/TextAreaEditor'
                label: 'Textarea editor'
                editorOptions:
                  placeholder: 'test placeholder 2'

Nested

In fusion you can get data by path q(node).property('repetableProperty.field1') so you get nested data form specific repeatable field

Issues

  • early version
The content of the readme is provided by Github