Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CheckBox does'nt work with formCollection() ! #11

Open
seyfer opened this issue Jan 15, 2014 · 4 comments
Open

CheckBox does'nt work with formCollection() ! #11

seyfer opened this issue Jan 15, 2014 · 4 comments

Comments

@seyfer
Copy link
Contributor

seyfer commented Jan 15, 2014

Warning: Invalid argument supplied for foreach() in vendor/silvester/reverse- form/view/element/bootstrap/checkbox.phtml on line 24

My element annotations

/**
     *
     * @Annotation\Type("Zend\Form\Element\Checkbox")
     * @Annotation\Options({"label":"Remember Me ?:"})
     *
     */
    public $rememberme;
@seyfer
Copy link
Contributor Author

seyfer commented Jan 15, 2014

With

@Annotation\Attributes({"type":"checkbox"})

does'nt work too..

@silvester
Copy link
Owner

Well this library was written before the annotation implementation.

I have no idea right now if this is supposed to work.

@seyfer
Copy link
Contributor Author

seyfer commented Jan 20, 2014

But other elements work's well

@seyfer
Copy link
Contributor Author

seyfer commented Jan 29, 2014

@silvester i'm fix it and add pull request soon

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

No branches or pull requests

2 participants