Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloning repeater item inside a block editor results with duplicated item's form fields empty. #1818

Closed
tsekka opened this issue Sep 16, 2022 · 1 comment
Labels
type: bug Something isn't working

Comments

@tsekka
Copy link

tsekka commented Sep 16, 2022

Description

When repeater is inside a block editor, the "duplicate" action does not work as expected. New repeater item will be pushed but it's form fields are empty.

Steps to reproduce

  1. Define a block editor with repeater block.
  2. Add new repeater item & fill it's form fields.
  3. Duplicate the field.
    Download example video.

Expected result

New, duplicated repeater item should have form fields filled with same content as the item that was duplicated.

Actual result

All form fields of new, duplicated repeater item are empty.

Versions

Twill version: 2.9.0
Laravel version: 9.26.1
PHP version: 8.1.5
Database engine:

@haringsrob haringsrob added the type: bug Something isn't working label Oct 17, 2022
@ptrckvzn
Copy link
Member

I can reproduce this bug and made a block Table here with nested Row > Column repeaters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants