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.
if ($fieldset instanceof InputFilterProviderInterface) {
var_dump($fieldset->getName().'1');
foreach ($fieldset->getInputFilterSpecification() as $name => $spec) {
line ~815:
// Create an input filter based on the specification returned from the fieldset
var_dump($childFieldset->getName().'2');
$spec = $childFieldset->getInputFilterSpecification();
Output:
string(7) "reward2" string(7) "reward1"
So first the filters for RewardFieldset are loaded as being a child fieldset. And then again as being a base fieldset.
The text was updated successfully, but these errors were encountered:
Code is explained here:
http://stackoverflow.com/questions/19103039/zf2-fieldset-getinputfilterspecification-gets-called-twice
Debugging:
Zend\Form\Form Class:
line: ~769:
line ~815:
Output:
string(7) "reward2" string(7) "reward1"
So first the filters for RewardFieldset are loaded as being a child fieldset. And then again as being a base fieldset.
The text was updated successfully, but these errors were encountered: