Upgrade from Kdyby\FormsReplicator 1.x
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
No files or tests are named. Start with the Contributte Forms-multiplier 3.2 examples and the reported detachCreateButtons() failure, then investigate nested multipliers and custom rendering under Latte 2. Done would require a confirmed compatibility answer, reproducible guidance, or a clearly scoped fix for the reported problems.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello everybody,
I was tasked with upgrading an old application written in PHP 5.6 and Nette 2.3 to PHP 8.1+. I gradually replaced individual libraries and got to PHP 8.1, Nette 3.1 (unfortunately to Nette\Utils 4) but stayed at Latte 2. Unfortunately Nette\Utils 4 blocks me from using the old Kdyby\FormsReplicator.
I found the Contributte\Forms-multiplier library. Unfortunately, due to using Latte 2, I cannot use a higher version of the library than 3.2. In this version, I tried the default examples that worked me, but I ran into a few problems in the application that I can't quite get around:
-
when setting default values to the replicator when rendering the form, the defined buttons do not see it:
Multiplier->detachCreateButtons(): void
Nette\InvalidArgumentException: Component with name 'multiplier_creator' does not exist
(apparently they are not yet added to the appropriate container) -
I did not manage to define nested multipliers (multiplier in multiplier) even in the test case, which it used several times in that application
-
custom rendering (not through the macros) of repeatable components within the template is not working for me
Can Contributte\Forms-multiplier in version 3.2 even solve these problems?
Would switching to Latte 3 and thus the possibility of upgrading the library to version 4.* help me? Can a newer version of the library address these issues?
Should I use some other library?
Any other advices or examples?
I will be very grateful for any good advice.
Thank you.
- Lingua principale
- PHP
- Stelle
- 29
- Fork
- 20
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di contributte/forms-multiplier
-
question
Difficoltà 2/5 1-3 ore Idoneità per principianti 20/100
contributte/forms-multiplier#117 · 12 commenti ·
-
question
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
contributte/forms-multiplier#113 ·
-
question
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
contributte/forms-multiplier#104 · 5 commenti ·
-
question
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
contributte/forms-multiplier#86 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
contributte/forms-multiplier#81 · 2 commenti ·
Tutte le issue di contributte/forms-multiplier
Issue simili
-
Group 2 - Data Storage | Tripal DBX | Chado Group 5 - Search | ElasticSearch | Views Priority - Medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
nginx update required due to NGINX2RootForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
mailcow/mailcow-dockerized#7668 · 5 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
lara-zeus/spatie-translatable#80 ·
I maintainer di solito rispondono entro 1 giorno
-
small
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
uiowa/uiowa#10296 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
asyncapi/modelina#2709 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno