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

teamform: Switch to contributte/multiplier #58

Closed
wants to merge 1 commit into from

Conversation

jtojnar
Copy link
Owner

@jtojnar jtojnar commented Apr 10, 2022

kdyby/replicator served us well for a long time but unfortunately, it has been unmaintained for a while now. Let’s switch to an actively maintained library.

Multiplier manages adding and removing for us and handles default values correctly.

The switch also allowed us to remove the outdated explicit anchoring by passing parent and name in constructor, letting Nette handle it. A disadvantage is the inability to access stuff like htmlId/isSubmitted() without being anchored – but that can be solved by using monitor().

Currently, we cannot control per-category person limits at submission: contributte/forms-multiplier#75

@jtojnar jtojnar force-pushed the contributte-multiplier branch from 87ae819 to 726c21e Compare April 11, 2022 15:40
@jtojnar jtojnar force-pushed the contributte-multiplier branch from 726c21e to 802063d Compare September 18, 2022 23:31
`kdyby/replicator` served us well for a long time but unfortunately,
it has been unmaintained for a while now.
Let’s switch to an actively maintained library.

Multiplier manages adding and removing for us and handles
default values correctly.

The switch also allowed us to remove the outdated explicit anchoring
by passing parent and name in constructor, letting Nette handle it.
A disadvantage is the inability to access stuff like `htmlId`/`isSubmitted()`
without being anchored – but that can be solved by using `monitor()`.

Currently, we cannot control per-category person limits at submission.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant