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

FormRow helper doesn't invoke the FormLabel helper anymore #165

Open
aimfeld opened this issue May 26, 2017 · 2 comments
Open

FormRow helper doesn't invoke the FormLabel helper anymore #165

aimfeld opened this issue May 26, 2017 · 2 comments

Comments

@aimfeld
Copy link

aimfeld commented May 26, 2017

The FormRow helper used to call the __invoke() function of the FormLabel helper in earlier versions of zend-form (e.g. 2.7.0), but not anymore. I noticed this because we override the FormLabel helper with a new __invoke function, which is now ignored.

I think this line of code here should be changed back to

$label = $labelHelper($element);

As it used to be in zend-form 2.7.0. Otherwise, the __invoke() function of the FormLabel helper never gets called.

Or am I missing something here? Is there another way now to override the behavior of the FormLabel helper?

@aimfeld aimfeld changed the title FormRow helper doen't invoke the FormLabel helper anymore FormRow helper doesn't invoke the FormLabel helper anymore May 26, 2017
@aimfeld
Copy link
Author

aimfeld commented Nov 7, 2018

Bump

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-form; a new issue has been opened at laminas/laminas-form#14.

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

No branches or pull requests

2 participants