verbb / vizy

A flexible visual editor for Craft CMS
Other
44 stars 8 forks source link

Vizy in Super table in Matrix, cannot add fields to Layout #46

Closed bliswebagency closed 3 years ago

bliswebagency commented 3 years ago

Description

We have a Super Table field within a Matrix field, as part of a content builder configuration.

When adding a Vizy field to that Super Table field, we can create a group and a block in the Block Configuration panel. However after adding fields to that block's layout, and pressing save, the fields are not saved within that layout.

When using Vizy as standalone field in the same craft install the fields save with the layout. But when we have this Matrix -> Super Table -> Vizy set up then the fields do not save.

Steps to reproduce

  1. Create Matrix Field
  2. Add Super Table field as child of matrix field
  3. Add Vizy field as child of super table field
  4. Add Group, Block, Layout and add fields to Vizy field
  5. Save

Additional info

Additional context PHP Version: 7.4.18

engram-design commented 3 years ago

Fixed for the next release. To get the fix early, change your verbb/vizy requirement in composer.json to:

"require": {
  "verbb/vizy": "dev-craft-3 as 1.0.2",
  "...": "..."
}

Then run composer update.

engram-design commented 3 years ago

Fixed in 1.0.3

bliswebagency commented 3 years ago

Awesome. Thanks!