Closed (fixed)
Project:
Hierarchical Select
Version:
5.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
26 Sep 2007 at 12:22 UTC
Updated:
22 Oct 2007 at 16:51 UTC
On submit if the form has validation errors then on refresh of the page the select box selects the default category.
| Comment | File | Size | Author |
|---|---|---|---|
| select.jpg | 21.83 KB | fredy.raj |
Comments
Comment #1
wim leersConfirmed. I'm not yet sure how to tackle this problem though.
Comment #2
derjochenmeyer commentedI could think of a jquery solution:
a php funtcion that picks up the selected terms (together with the inactive options) in an associative array and (on validation error) builds a jquery snippet that fills the set of selectors with the previously selected items.
Comment #3
wim leers@derjochenmeyer: that's not a proper solution. We need to take advantage of the Form API to fix this.
Fix committed.
Comment #4
(not verified) commented