We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
It could be done using $insertBefore http://api.kdyby.org/class-Nette.ComponentModel.Container.html#_addComponent
$insertBefore
Sorry, something went wrong.
But how? I did not see it in your code.
No it isn't, my comment was just a note for anyone who'd like to implement it ;)
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: