Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

formElement override not working in zf3 #203

Open
jroedel opened this issue Jun 4, 2018 · 0 comments
Open

formElement override not working in zf3 #203

jroedel opened this issue Jun 4, 2018 · 0 comments

Comments

@jroedel
Copy link

jroedel commented Jun 4, 2018

I'm new to ZF3, but it looks like the formElement override isn't working. I'm using v3.2.2. I recently upgraded to ZF3 and I noticed that the form elements I was rendering with $this->formElement(xxx) weren't working.
I added the following configuration and it began to work:

'view_helpers' => [
    'aliases' => [
        'formElement' => 'TwbBundle\Form\View\Helper\TwbBundleFormElement',
    ],
],

I was making sure to load the TwbBundle module last, so it shouldn't be a configuration problem.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant