-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Custom element factory not called #12
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... Originally posted by @fezfez at zendframework/zend-form#174 (comment) |
I want to access the Factory to edit the render method of custom Element. ExampleEntity
IndexController
module.config.php
Debug $form->getFormFactory()
Originally posted by @korolev-kg at zendframework/zend-form#174 (comment) |
@korolev-kg Originally posted by @froschdesign at zendframework/zend-form#174 (comment) |
closing as nothing todo with issue report. |
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 !
Originally posted by @fezfez at zendframework/zend-form#174
The text was updated successfully, but these errors were encountered: