Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.3.1

Request #19307 cannot chain setValue
Submitted: 2012-02-27 07:44 UTC
From: sak Assigned: avb
Status: Closed Package: HTML_QuickForm2 (version 0.6.1)
PHP Version: 5.3.9 OS:
Roadmaps: (Not assigned)    

 [2012-02-27 07:44 UTC] sak (sergio kessler)
Description: ------------ it would be cool if I can chain the setValue, something like $form->addElement('date', 'new_row_fecha', $date_options) ->setLabel('Fecha:') ->setValue($date_defaults) ->addRule('required', 'Valor requerido') ; right now, that code throws error...


 [2012-02-27 12:47 UTC] avb (Alexey Borzov)
-Status: Open +Status: Closed -Assigned To: +Assigned To: avb
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.