Jump to content

Cloned repeater(matrix) item after "original", not at bottom


2hoch11
 Share

Recommended Posts

In most cases when I clone an item (no matter if it's a repeater or a repeater matrix) i'd like to have the "copy" just below the "original" instead at the bottom of the repeater(matrix) field… Especially when there are many items, I have to drag around the cloned item to put it in the right place.

I guess there should be just one checkbox in the specific repeater(matrix) field like: "Put cloned items just after the original item instead at the bottom."
This way everyone could set up the field as he likes. This would expand ProcessWires flexibility.

A different approach could be having 2 cloning icons at every item: one for "clone below", and one for "clone at bottom". This would be even more versatile.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

Hello @gerritvanaaken,

there are new buttons in Repeater items for cloning before or after an item:

https://processwire.com/blog/posts/new-repeater-and-repeater-matrix-features/

Also:

Quote

This week (ProcessWire 3.0.187), the core repeater was also updated to support inline cloning. Previously when you cloned a repeater item, it would always go to the end. Now it clones directly below (or above when appropriate) the item being cloned.

Regards, Andreas

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...