» Version | » Information |
---|---|
2023-11-02 stable |
|
2022-05-23 stable |
|
2022-04-02 stable |
|
2021-06-25 stable |
|
2021-05-09 stable |
|
2020-09-15 stable |
|
2019-04-10 stable |
|
2014-06-28 stable |
|
2.0.1 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm2-2.0.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm2-2.0.1 Release date: 2014-06-26 14:55 UTC Release state: stable Release uploaded by: avb Changelog: Bug fixes * When using HTML_QuickForm2_DataSource_Array and its descendants elements' updateValue() implementations now differentiate between "no value available for an element" and "explicit null value provided for an element" (see bug #20295). Custom DataSources may implement the new HTML_QuickForm2_DataSource_NullAware interface to achieve the same. * Contents of Static elements added to Repeat are no longer cleared (bug #19802) * Client-side rules for containers within Repeat are correctly removed when removing a repeated item (bug #19803) * Client-side validator is always generated for a form with a Repeat having some client-side rules on its child elements, even if Repeat is empty * Unit tests updated to work with newer PHPUnit, prevent running tests twice under some circumstances (see bug #19038) Other features and changes * Calling HTML_QuickForm2_Container_Group::setValue() will clear values of those grouped elements that do not have a corresponding key in the passed array. Passing a null or an empty array to setValue() will clear the values of all grouped elements. Previous behaviour was counter-intuitive. * Added HTML_QuickForm2_Element_Select::getOptionContainer() (request #19955) * HTML_QuickForm2_Container_Group::setValue() properly handles a group of radio elements (request #20103) * HTML_QuickForm2_Element_Date::setValue() can accept an instance of DateTime * Extracted removeErrorMessage() from removeRelatedErrors() of qf.Validator for easier customizing of client-side errors output Dependencies:
|
2012-06-26 stable |
|
2012-05-22 beta |
|
2012-04-18 beta |
|
2012-03-20 beta |
|
2011-09-29 beta |
|
2011-06-13 beta |
|
2010-12-09 alpha |
|
2010-03-08 alpha |
|
2009-10-25 alpha |
|
2007-10-22 alpha |
|
2007-04-17 alpha |