mireo91/repeatablefields

Last activity 14 Apr 2020 5 2530
composer require mireo91/repeatablefields

Neos package for adding repeatables fields to neos-ui react

v1.8.1

Version
v1.8.1
Type
neos-plugin
Release Date
Apr 14, 2020 15:07
Source
git
Distribution
zip
Requires
GPL-3.0-or-later 1a44b5245baf4d4d8c7de65c4168ca2ca23a842f

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