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

Child form default_value #80

Closed
jaroslawziolkowski opened this issue Apr 20, 2015 · 3 comments
Closed

Child form default_value #80

jaroslawziolkowski opened this issue Apr 20, 2015 · 3 comments

Comments

@jaroslawziolkowski
Copy link

I try make hidden field with default value in child form.

it child form is added empty field

<?php
$this->add('branch','hidden',['default_value'=>$branch]);

in main form

<?php
$this->add('branch','hidden',['default_value'=>$branch]);

is added with value. `$branch`` in both forms has same value.

@kristijanhusak
Copy link
Owner

You're right. Pushing fix soon.

@kristijanhusak
Copy link
Owner

Ok, fixed. Do a composer update (version 1.4.13). Thanks for reporting.

@jaroslawziolkowski
Copy link
Author

@kristijanhusak Thanks

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