Skip to content

v2.1.5

Compare
Choose a tag to compare
@taufik-nurrohman taufik-nurrohman released this 06 Feb 04:22

Set

  • Added Set field type.
  • Added optional title and description attribute for Fields.
  • Fixed broken recursive folder delete if trash parameter exists.
[
    'lot' => [
        0 => [
            'title' => 'Optional Fields Title',
            'description' => 'Optional fields description.',
            'type' => 'Fields',
            'lot' => [
                // Group field(s)
                0 => [
                    'title' => 'Optional Group Title',
                    'description' => 'Optional group description.',
                    'type' => 'Set',
                    'lot' => [
                        0 => [
                            'type' => 'Fields',
                            'lot' => [
                                // Inline field(s) inside a group
                                0 => [ … ],
                                1 => [ … ],
                                2 => [ … ]
                            ]
                        ]
                    ]
                ],
                // Inline field(s)
                1 => [ … ]
                2 => [ … ]
                3 => [ … ]
            ]
        ]
    ]
]