This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Custom element factory not called #174
Comments
I've found the bug in my code to get my form instance in my controller factory was doing
instead of
and i add my form factory to
Maybe documentation need to be fix, this part is only on "Creating custom elements", but i follow only "Handling dependencies", i was thinking that's it was complete sample... |
I want to access the Factory to edit the render method of custom Element. ExampleEntity
IndexController
module.config.php
Debug $form->getFormFactory()
|
This repository has been closed and moved to laminas/laminas-form; a new issue has been opened at laminas/laminas-form#12. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I've followed this guide https://zendframework.github.io/zend-form/advanced/#handling-dependencies but i cant get it work.
module.config.php
FileElementFactory
FileElement
Form
Controller
Actual output
Expected output
composer show
Thanks in advance !
The text was updated successfully, but these errors were encountered: