Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

getFormClosure does not allow passing of form options #40

Open
richsage opened this issue Sep 13, 2011 · 0 comments
Open

getFormClosure does not allow passing of form options #40

richsage opened this issue Sep 13, 2011 · 0 comments

Comments

@richsage
Copy link
Contributor

As per title. There doesn't seem to be a way to pass options to the closure when creating a form. I'll sort out a PR if I get some spare time...

Edit to clarify, I want to be able to pass options through from my custom action, eg:

$getFormClosure = $this->getActionsVars()->get('getFormClosure');
$form = $getFormClosure($data, $this, $this->container, array("my_option" => 123));
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant