Closed (outdated)
Project:
Hierarchical Select
Version:
7.x-3.0-alpha5
Component:
Code - Taxonomy
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2012 at 15:43 UTC
Updated:
26 Oct 2018 at 00:54 UTC
Jump to comment: Most recent
Comments
Comment #1
jonloh commentedSame here. I'm building a node multistep form with my own custom coding. But whenever I'm editing a node and the page goes on to the 2nd page where Hierarchical Select is, it will always default to
Comment #2
jyraya commentedI have a similar behavior as the one of jonloh. I am making a node form alter in order to rebuild my form by adding new fields to it after clicking a specific button.
When the user submits the form and comes back on it with new fields, the field using "hierarchy select" is rendered by showing "Nothing has been selected." but values have been selected.
I have it in the node edition and the creation cases.
Comment #3
diuss1987 commentedI've resolved this problem by adding this before $form_state['rebuild'] = TRUE:
unset($form_state['input']['variable_name'].
Just delete previous default value
Comment #4
goldIs this an issue with HS or has it come about due to a custom form?
If the 'fix' described in #3 can be applied to the codebase please update the description to include steps to reproduce it and provide a patch.
Comment #5
jonloh commentedLooks like it happened many years ago and I myself don't remember what it was ;p
I would say it can be closed until someone else opens it up.
Comment #6
goldFair and agreed. :)