PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #8083

updating attributes of 'date' element doesn't work

Details

Submitted2006-06-30 01:54 UTC
Fromdaniel at konczyk dot net
StatusWont fix
PackageHTML_QuickForm
PHP Version4.4.2
Roadmaps(Not assigned)

Comments

[2006-06-30 01:54 UTC] daniel at konczyk dot net

Description:
------------
updateElementAttr() in Quickform.php file doesn't work, when given an element, which is of type 'date'.
It works with standard types like text or select, but as date type is kind of 'virtual' element with 3 select objects underneath, updateElementAttr() should update all 3 objects' _attributes values.

I guess, you should check the element type or similar in updateElementAttr() method before running updateAttributes() (line 954) and if appropriate, apply the updateAttributes() method to each object underneath.