AnsweredAssumed Answered

Dynamic Multi Select Drop Down

Question asked by Subhankar Das on Sep 10, 2015
Latest reply on Oct 7, 2015 by meveridge
when Im creating a dynamic multi select drop down from another table, it behaves like multi select in record view, but values not saving. Earlier I did a same SINGLE drop down in this process and working fine. I think array structure is not correct...please help me out..

success: _.bind(function(data) {               
               console.log(data);
                var dd_values = {};
                _.each(data, function(value, key) {
                    console.log(key, value);
                    dd_values[key] = value;
                });
                // override airport
                this.model.fields['resort_name_c'].options = dd_values; 
                this.render();
            }, this),


This code is working perfect for SINGLE drop down.

Outcomes