mireo91/repeatablefields

Last activity 13 days ago
  • 5
  • 4116
composer require mireo91/repeatablefields

Neos package for adding repeatables fields to neos-ui react

v2.1.0

Neos package for adding repeatables fields to neos-ui react

Version
v2.1.0
Type
neos-plugin
Release Date
Mar 4, 2023, 9:26:38 pm
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
GPL-3.0-or-later cde6e763936e3da9d7eabb3e25184c2ce665efd1

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