You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
In version 2.2.1 this code created the first element with label appended and the second one with label prepended. After we upgraded to 2.2.5 we get both labels appednded. I think this is wrong because we are not changing the label position via setLabelPosition() so I would expect the change to be temporary but it is global.
Anyway this breaks the code that was working with the older zf version...
The text was updated successfully, but these errors were encountered:
I reported the same issue and it was fixed 10 months ago in #3626 and indeed 7 months ago #4771 introduced the same bug again...
I agree with you the caching of label positions is unwanted behaviour. Because some people want to set the label position for all elements, I think a new method where the default label position can be set would be the solution to this. If we don't we will keep going back and forth with both groups "fixing" the issue.
I think that when resolving the issue #4771
you accidently introduced another one! Consider this code:
$this->formRow($element1, 'append');
$this->formRow($element2);
In version 2.2.1 this code created the first element with label appended and the second one with label prepended. After we upgraded to 2.2.5 we get both labels appednded. I think this is wrong because we are not changing the label position via setLabelPosition() so I would expect the change to be temporary but it is global.
Anyway this breaks the code that was working with the older zf version...
The text was updated successfully, but these errors were encountered: