This question is locked. New answers and comments are not allowed.
I am using the "Cascading Combo Box" examples to help me to build a cascading combo box scenario with two combo boxes inside of an edit/add form for a grid. The add piece works great, but the edit piece does not filter the second combo box on the initial load. IE when the edit form loads, the first combobox should have the current value selected which should in turn cause the second combobox to go get it's contents based on the value of the first combobox. The second combobox is also not selecting the current value and I have to re-select every time I edit a record.
The controller method does get called (that loads the second select list) but the value of the first combobox that is being passed in is always the first item in the first list, regardless of whether or not that is the item that is actually selected. So even though the second item is selected in the first list, when the form loads the value of the first item gets passed to the controller method. And the current value is still not selected in the 2nd combo box (it is just blank).
Any insight?
Thanks!
The controller method does get called (that loads the second select list) but the value of the first combobox that is being passed in is always the first item in the first list, regardless of whether or not that is the item that is actually selected. So even though the second item is selected in the first list, when the form loads the value of the first item gets passed to the controller method. And the current value is still not selected in the 2nd combo box (it is just blank).
Any insight?
Thanks!