Closed rmales closed 11 months ago
With a Vizy field that contains a block that contains another Vizy field, when I add that block to my entry this Javascript error is thrown:
Uncaught TypeError: Cannot read properties of undefined (reading 'isNew') at VizyInput.vue:523:51
https://github.com/verbb/vizy/blob/0b44da60c62e59bf3795dad005f610ad3ed0fb71/src/web/assets/field/src/js/components/VizyInput.vue#L523
I believe this causes issues with the Craft drafts system in some cases due to the last serialized value being mismatched.
4.4.16.1
2.1.7
No
No response
Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-4 as 2.1.7"
composer require verbb/vizy:"dev-craft-4 as 2.1.7"
Fixed in 2.1.8
Describe the bug
With a Vizy field that contains a block that contains another Vizy field, when I add that block to my entry this Javascript error is thrown:
https://github.com/verbb/vizy/blob/0b44da60c62e59bf3795dad005f610ad3ed0fb71/src/web/assets/field/src/js/components/VizyInput.vue#L523
I believe this causes issues with the Craft drafts system in some cases due to the last serialized value being mismatched.
Steps to reproduce
Craft CMS version
4.4.16.1
Plugin version
2.1.7
Multi-site?
No
Additional context
No response