Skip to content

Reverse rendering & fillig of items #26

@ghost

Description

Now if you hit button with ->addCreateOnClick() it add new empty field/fields on the end of replicator. Is it possible to add some "switch" like "$revert = FALSE" on this line https://github.com/Kdyby/Replicator/blob/master/src/Kdyby/Replicator/Container.php#L60?

When $rever will be TRUE it add items on the start of replicator (array of replicator components).

The current behavior is a problem if you have multiple items. You must scroll to the end of page after every click on button.

I hope that you understand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions