Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
When repeater is inside a block editor, and we clone this block, repeater's data is wrong, fields values are the same within several repeaters.
Maybe it is connected with https://github.com/area17/twill/issues/1818, but in that issue repeater's fields are empty and in my case I have them filled with wrong data
Steps to reproduce
Define a block editor with repeater block.
Add several repeater items & fill it's form fields.
Repeaters fields values in cloned block are exactly the same as in the initial block
Actual result
Cloned repeaters fields data is wrong, it has the same values within several items instead of all different data in each of them, exactly like in the initial block
Description
When repeater is inside a block editor, and we clone this block, repeater's data is wrong, fields values are the same within several repeaters. Maybe it is connected with https://github.com/area17/twill/issues/1818, but in that issue repeater's fields are empty and in my case I have them filled with wrong data
Steps to reproduce
Also possible to watch the video to understand: Download example video.
Expected result
Repeaters fields values in cloned block are exactly the same as in the initial block
Actual result
Cloned repeaters fields data is wrong, it has the same values within several items instead of all different data in each of them, exactly like in the initial block
Versions
Twill version: 2.8.7 Laravel version: 8.0 PHP version: 7.4 Database engine: Mysql: 5.7