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
$this->addElement('text', 'name', array(
'label' => 'Name',
'required' => true,
'description' => 'This field is required'
));
I receive this error:
PHP Fatal error: Call to undefined method Zend\View\Variables::escape() in /home/antonino/Workspace/spark/vendor/ZendFramework/library/Zend/Form/Decorator/Description.php on line 184
Any suggestion?
Thanks!
Antonio
The text was updated successfully, but these errors were encountered:
Ok, I fix it. Now by default description is not escaping string.
But this error is a problem in ZF2. New implementation of Zend\View\Helper\Escape do not contains method escape()
& \Zend\Form\Decorator\Description has old style of invoking this helper.
to a text field this way
I receive this error:
PHP Fatal error: Call to undefined method Zend\View\Variables::escape() in /home/antonino/Workspace/spark/vendor/ZendFramework/library/Zend/Form/Decorator/Description.php on line 184
Any suggestion?
Thanks!
Antonio
The text was updated successfully, but these errors were encountered: