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

Form\View\Helper\FormRow label position gets overwritten by __invoke() #4771

Conversation

stefanotorresi
Copy link
Contributor

I noticed this when using the Form view helper, which in turn invokes FormRow helper passing only the element.

// inside view template
$this->formRow()->setLabelPosition('append');

/** @var Zend\Form\Form $form */
echo $this->form($form); // this does actually output prepended labels

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

Successfully merging this pull request may close these issues.

2 participants