We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 2.7.3
When attempting to use the (expand) operator to pass array of parameters to {control}, it results in syntax error.
(expand)
{control}
{var $args = ["label" => "Název"]} {control myControl, (expand) $args}
Will cause synax error on line 89:
<?php 86: $args = ["label" => "Název"]; 87: /* line 25 */ $_tmp = $this->global->uiControl->getComponent("myControl"); 88: if ($_tmp instanceof Nette\Application\UI\IRenderable) $_tmp->redrawControl(null, false); 89: $_tmp->render(rray_merge([], $args, []); ?>
Should be equivalent to {control myControl, label => "Název"}
{control myControl, label => "Název"}
The text was updated successfully, but these errors were encountered:
nette/application@1923dae
UIMacros: fixed (expand) in {control) [Closes nette/latte#223]
08235d3
906d0d7
[application] UIMacros: fixed (expand) in {control) [Closes nette/lat…
1477912
…te#223]
No branches or pull requests
Version: 2.7.3
Bug Description
When attempting to use the
(expand)
operator to pass array of parameters to{control}
, it results in syntax error.Steps To Reproduce
Will cause synax error on line 89:
Expected Behavior
Should be equivalent to
{control myControl, label => "Název"}
The text was updated successfully, but these errors were encountered: