652

Product support

Get help in the plugin support forum.

Categories

This plugin Extend Groups in repeater. The ability to limit the number of objects from a specific group. You can customize the display of icons, which show how many more objects can be added. Nested repeaters are also supported.

Installation

Install the plugin via October's plugin marketplace.

Usage

To the repeater field, add css property data-groups-limit for auto initialization and css properties in the format limit-(group)-(maxitems)-badge the latter can be skipped if the icon is not needed.

You should get something like this:
fields:
    repeater:
        label: Repeater
        prompt: 'Add new item'
        span: full
        type: repeater
        cssClass: data-groups-limit limit-content-1-badge limit-photo-3-badge limit-date-1
        groups:
            content:
                name: Content
                description: Richeditor
                icon: icon-file-text-o
                fields:
                    value:
                        label: Content
                        type: richeditor
                        size: huge
            photo:
                name: Select photo
                description: Add photo files
                icon: icon-file-text-o
                fields:
                    file:
                        label: Photo
                        mode: image
                        useCaption: true
                        thumbOptions:
                            mode: crop
                            extension: auto
                        span: auto
                        type: mediafinder
            date:
                name: Date
                description: Add date
                icon: icon-calendar
                fields:
                    time:
                        label: 'Date picker'
                        mode: datetime
                        span: auto
                        type: datepicker
            text:
                name: Text
                description: Text input
                icon: icon-terminal
                fields:
                    string:
                        label: Text
                        span: full
                        type: text
1.0.2

Update readme

Nov 05, 2020

1.0.1

First version of GroupsLimit

Nov 04, 2020