Home » HTML » HTML_QuickForm » Bug #8083
updating attributes of 'date' element doesn't work
Details
| Submitted | 2006-06-30 01:54 UTC |
|---|---|
| From | daniel at konczyk dot net |
| Status | Wont fix |
| Package | HTML_QuickForm |
| PHP Version | 4.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.